Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.01064/0.01064, allocations: 171.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.86/2.86, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003343, allocations: 4.844 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3823, allocations: 162.2 MB / 1.074 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling): time 0.00762/0.3899, allocations: 5.488 MB / 1.079 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006068/0.396, allocations: 2.719 MB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00121/0.3973, allocations: 39.81 kB / 1.082 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000346/0.3976, allocations: 91.16 kB / 1.082 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000328/0.398, allocations: 75.36 kB / 1.082 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.3993, allocations: 426.5 kB / 1.083 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0009237/0.4003, allocations: 0.802 MB / 1.084 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006613/0.4009, allocations: 410.3 kB / 1.084 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002983/0.4012, allocations: 226.7 kB / 1.084 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/0.4016, allocations: 246.3 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.342e-05/0.4016, allocations: 27.94 kB / 1.084 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.4019, allocations: 111.9 kB / 1.085 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/0.402, allocations: 111.4 kB / 1.085 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.4024, allocations: 315.7 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0009177/0.4033, allocations: 0.9265 MB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4033, allocations: 0 / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.843e-06/0.4033, allocations: 3.938 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.4033, allocations: 0 / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00189/0.4052, allocations: 0.9613 MB / 1.087 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4053, allocations: 8.031 kB / 1.087 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4055, allocations: 87.91 kB / 1.087 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/0.4061, allocations: 494.7 kB / 1.087 GB, free: 9.859 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.47e-05/0.4062, allocations: 49.69 kB / 1.087 GB, free: 9.812 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4063, allocations: 64.38 kB / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/0.4074, allocations: 0.6198 MB / 1.088 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.4074, allocations: 4.188 kB / 1.088 GB, free: 9.102 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.4075, allocations: 31.94 kB / 1.088 GB, free: 9.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.4075, allocations: 12 kB / 1.088 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/0.4084, allocations: 460.9 kB / 1.089 GB, free: 8.605 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003266/0.4117, allocations: 2.312 MB / 1.091 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.4138, allocations: 0.949 MB / 1.092 GB, free: 5.184 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004444/0.4143, allocations: 259.9 kB / 1.092 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.4143, allocations: 4.375 kB / 1.092 GB, free: 4.922 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005258/0.4149, allocations: 273.5 kB / 1.092 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=51): time 3.927e-06/0.4149, allocations: 0 / 1.092 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of matching and sorting (n=51): time 0.001316/0.4162, allocations: 0.6272 MB / 1.093 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.4163, allocations: 111.2 kB / 1.093 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006159/0.4169, allocations: 490.7 kB / 1.093 GB, free: 3.383 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-05/0.417, allocations: 41.7 kB / 1.093 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.4173, allocations: 352.2 kB / 1.094 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4175, allocations: 157.8 kB / 1.094 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.817e-05/0.4176, allocations: 65.67 kB / 1.094 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.4178, allocations: 370.8 kB / 1.094 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.4182, allocations: 209.2 kB / 1.095 GB, free: 2.184 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005969/0.4188, allocations: 395.5 kB / 1.095 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/0.4198, allocations: 0.5495 MB / 1.095 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4198, allocations: 3.938 kB / 1.095 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001233/0.421, allocations: 0.6913 MB / 1.096 GB, free: 424 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001675/0.4212, allocations: 234.8 kB / 1.096 GB, free: 124 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.4212, allocations: 4 kB / 1.096 GB, free: 120 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4213, allocations: 8 kB / 1.096 GB, free: 112 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003945/0.4217, allocations: 107.8 kB / 1.096 GB, free: 4 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/0.4217, allocations: 8.047 kB / 1.096 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005828/0.4223, allocations: 127.4 kB / 1.097 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-05/0.4224, allocations: 39.92 kB / 1.097 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/0.4224, allocations: 7.938 kB / 1.097 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009382/0.4233, allocations: 0.5577 MB / 1.097 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4233, allocations: 4 kB / 1.097 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.4234, allocations: 11.94 kB / 1.097 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003351/0.4237, allocations: 103.8 kB / 1.097 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.4237, allocations: 4 kB / 1.097 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.4242, allocations: 121.2 kB / 1.097 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.554e-05/0.4243, allocations: 27.98 kB / 1.097 GB, free: 15 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,occSch.tNext,$PRE.occSch.tNext,occSch.tNonOcc,$PRE.occSch.tNonOcc,occSch.tOcc,$PRE.occSch.tOcc,occSch.occupied,$PRE.occSch.occupied,optSta.falEdg.not_u,$PRE.optSta.falEdg.not_u,optSta.falEdg.y,optSta.hysSta.greHys.y,$PRE.optSta.hysSta.greHys.y,$whenCondition3,conPID.con1.y,conPID1.con1.y,optSta.con3.y,optSta.con.y,optSta.optOn,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 0.0003514/0.4246, allocations: 284.4 kB / 1.098 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.68e-05/0.4247, allocations: 63.27 kB / 1.098 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.4249, allocations: 61.83 kB / 1.098 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.4249, allocations: 4 kB / 1.098 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.4249, allocations: 0 / 1.098 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.4249, allocations: 7.922 kB / 1.098 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.4266, allocations: 1.17 MB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4267, allocations: 3.984 kB / 1.099 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003353/0.427, allocations: 83.89 kB / 1.099 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.427, allocations: 4 kB / 1.099 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.33e-05/0.427, allocations: 11.98 kB / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4271, allocations: 3.938 kB / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4271, allocations: 0 / 1.099 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00135/0.4284, allocations: 0.7908 MB / 1.1 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.4286, allocations: 136.4 kB / 1.1 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.736e-05/0.4286, allocations: 12 kB / 1.1 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.4289, allocations: 43.97 kB / 1.1 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.4291, allocations: 36.38 kB / 1.1 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.4291, allocations: 16 kB / 1.1 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000415/0.4295, allocations: 326.9 kB / 1.1 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4295, allocations: 0 / 1.1 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008805/0.4304, allocations: 275 kB / 1.101 GB, free: 11.59 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.greHys.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.tOcc,occSch.tNonOcc,occSch.tNext,pul.booPul.y) * Number of discrete states: 3 (occSch.tNext,optSta.hysSta.greHys.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000342/0.4308, allocations: 159.2 kB / 1.101 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001819/0.4326, allocations: 0.9644 MB / 1.102 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4326, allocations: 5.062 kB / 1.102 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004483/0.4331, allocations: 226.3 kB / 1.102 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007739/0.4338, allocations: 115.3 kB / 1.102 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.4361, allocations: 1.344 MB / 1.103 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005404/0.4367, allocations: 0.8946 MB / 1.104 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003254/0.437, allocations: 80.59 kB / 1.104 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.4371, allocations: 43.42 kB / 1.104 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.4371, allocations: 4 kB / 1.104 GB, free: 7.668 MB / 0.8575 GB Notification: Performance of Templates: time 0.01617/0.4533, allocations: 7.152 MB / 1.111 GB, free: 0.5898 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)