Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 193.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.675/1.675, allocations: 251.6 MB / 0.5089 GB, free: 3.238 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.91 kB / 0.6218 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7042, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.003624/0.7079, allocations: 1.48 MB / 0.7255 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003869/0.7083, allocations: 120.5 kB / 0.7256 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.639e-05/0.7084, allocations: 0 / 0.7256 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.927e-05/0.7084, allocations: 0 / 0.7256 GB, free: 11.64 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.7086, allocations: 7.938 kB / 0.7256 GB, free: 11.63 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.865e-05/0.7087, allocations: 11.98 kB / 0.7256 GB, free: 11.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.7088, allocations: 51.78 kB / 0.7256 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001603/0.709, allocations: 11.98 kB / 0.7257 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.893e-05/0.7091, allocations: 23.92 kB / 0.7257 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.7092, allocations: 19.91 kB / 0.7257 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.7092, allocations: 4 kB / 0.7257 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.1e-05/0.7092, allocations: 4 kB / 0.7257 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.427e-05/0.7092, allocations: 12 kB / 0.7257 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.167e-05/0.7093, allocations: 23.86 kB / 0.7257 GB, free: 11.47 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.7094, allocations: 39.88 kB / 0.7258 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.7094, allocations: 0 / 0.7258 GB, free: 11.43 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.206e-06/0.7094, allocations: 0 / 0.7258 GB, free: 11.43 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.7094, allocations: 0 / 0.7258 GB, free: 11.43 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006982/0.7101, allocations: 373.3 kB / 0.7261 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.7102, allocations: 16.03 kB / 0.7261 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.7103, allocations: 4.844 kB / 0.7262 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.7104, allocations: 176.2 kB / 0.7263 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.7105, allocations: 384 / 0.7263 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.7105, allocations: 4.375 kB / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.7108, allocations: 74.2 kB / 0.7264 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7108, allocations: 192 / 0.7264 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.538e-05/0.7108, allocations: 3.938 kB / 0.7264 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.7108, allocations: 0 / 0.7264 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.7111, allocations: 71.91 kB / 0.7265 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.7116, allocations: 276.8 kB / 0.7267 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.7118, allocations: 58.48 kB / 0.7268 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.712, allocations: 40.91 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.712, allocations: 3.938 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.7121, allocations: 34.56 kB / 0.7269 GB, free: 10.15 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.7121, allocations: 0 / 0.7269 GB, free: 10.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005132/0.7126, allocations: 141.4 kB / 0.727 GB, free: 10.01 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.036e-05/0.7127, allocations: 51.41 kB / 0.727 GB, free: 9.945 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.7128, allocations: 109.8 kB / 0.7272 GB, free: 9.828 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.7128, allocations: 29.7 kB / 0.7272 GB, free: 9.793 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.67e-05/0.7129, allocations: 84.14 kB / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.7129, allocations: 11.91 kB / 0.7273 GB, free: 9.695 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.713, allocations: 17.7 kB / 0.7273 GB, free: 9.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.7131, allocations: 314.8 kB / 0.7276 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001378/0.7133, allocations: 27.97 kB / 0.7276 GB, free: 9.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.7134, allocations: 35.95 kB / 0.7277 GB, free: 9.293 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.7137, allocations: 76.72 kB / 0.7277 GB, free: 9.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7137, allocations: 3.938 kB / 0.7277 GB, free: 9.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002955/0.714, allocations: 97.53 kB / 0.7278 GB, free: 9.109 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.714, allocations: 4 kB / 0.7278 GB, free: 9.105 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.714, allocations: 4 kB / 0.7278 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.714, allocations: 0 / 0.7278 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.7142, allocations: 15.98 kB / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.7142, allocations: 0 / 0.7278 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.7143, allocations: 23.91 kB / 0.7279 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.7143, allocations: 0 / 0.7279 GB, free: 9.062 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.7144, allocations: 109.8 kB / 0.728 GB, free: 8.945 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.7144, allocations: 4 kB / 0.728 GB, free: 8.941 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.403e-05/0.7145, allocations: 11.91 kB / 0.728 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.7145, allocations: 0 / 0.728 GB, free: 8.922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7145, allocations: 4 kB / 0.728 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.7145, allocations: 0 / 0.728 GB, free: 8.918 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001865/0.7147, allocations: 173.6 kB / 0.7282 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.7147, allocations: 0 / 0.7282 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.471e-05/0.7148, allocations: 19.92 kB / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7148, allocations: 384 / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.7148, allocations: 0 / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7148, allocations: 0 / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.7148, allocations: 4 kB / 0.7282 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003961/0.7152, allocations: 203.6 kB / 0.7284 GB, free: 8.461 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.7153, allocations: 81.11 kB / 0.7285 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.7153, allocations: 4.047 kB / 0.7285 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.7155, allocations: 19.97 kB / 0.7285 GB, free: 8.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.7155, allocations: 7.984 kB / 0.7285 GB, free: 8.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.7155, allocations: 0 / 0.7285 GB, free: 8.332 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.639e-05/0.7156, allocations: 87.28 kB / 0.7286 GB, free: 8.246 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.7156, allocations: 0 / 0.7286 GB, free: 8.246 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002174/0.7158, allocations: 8 kB / 0.7286 GB, free: 8.238 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002347/0.716, allocations: 111.1 kB / 0.7287 GB, free: 8.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003377/0.7164, allocations: 67.92 kB / 0.7287 GB, free: 8.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.7164, allocations: 4 kB / 0.7287 GB, free: 8.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001481/0.7166, allocations: 31.97 kB / 0.7288 GB, free: 8.02 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.7169, allocations: 19.91 kB / 0.7288 GB, free: 8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.7174, allocations: 149.3 kB / 0.7289 GB, free: 7.828 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.7178, allocations: 0.6846 MB / 0.7296 GB, free: 7.117 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.876e-05/0.7178, allocations: 3.859 kB / 0.7296 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.77e-05/0.7179, allocations: 11.44 kB / 0.7296 GB, free: 7.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.51e-07/0.7179, allocations: 4 kB / 0.7296 GB, free: 7.098 MB / 0.545 GB Notification: Performance of Templates: time 0.003235/0.7211, allocations: 0.5669 MB / 0.7302 GB, free: 6.535 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1)