Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.257/2.257, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001304/0.001304, allocations: 170.6 kB / 326.2 MB, free: 2.871 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009681/0.0009679, allocations: 92.05 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007124/0.0007125, allocations: 14.25 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2716/0.2724, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.246/0.5185, allocations: 142.6 MB / 1.039 GB, free: 2.715 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.5188, allocations: 79.95 kB / 1.039 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05435/0.5732, allocations: 12.51 MB / 1.051 GB, free: 6.098 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5733, allocations: 0 / 1.051 GB, free: 6.098 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.269e-05/0.5733, allocations: 16 kB / 1.051 GB, free: 6.082 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003221/0.5766, allocations: 1.066 MB / 1.052 GB, free: 4.953 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5766, allocations: 12.03 kB / 1.052 GB, free: 4.941 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.5769, allocations: 95.81 kB / 1.052 GB, free: 4.848 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.5783, allocations: 0.4936 MB / 1.053 GB, free: 4.312 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-05/0.5784, allocations: 53.69 kB / 1.053 GB, free: 4.262 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.5786, allocations: 76.36 kB / 1.053 GB, free: 4.188 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.5809, allocations: 0.7332 MB / 1.054 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.5809, allocations: 11.88 kB / 1.054 GB, free: 3.402 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.581, allocations: 28 kB / 1.054 GB, free: 3.375 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/0.5811, allocations: 16 kB / 1.054 GB, free: 3.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002154/0.5832, allocations: 0.5281 MB / 1.054 GB, free: 2.832 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005909/0.5892, allocations: 2.537 MB / 1.057 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.6301/1.219, allocations: 0.6554 MB / 1.057 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/1.22, allocations: 313.9 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.275e-05/1.221, allocations: 12.22 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/1.222, allocations: 421 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 4.218e-06/1.222, allocations: 0.8438 kB / 1.058 GB, free: 145.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.003296/1.225, allocations: 0.9007 MB / 1.059 GB, free: 145.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/1.225, allocations: 143.2 kB / 1.059 GB, free: 145.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008461/1.226, allocations: 0.5215 MB / 1.059 GB, free: 145.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001863/1.226, allocations: 44.61 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003059/1.227, allocations: 335.6 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/1.227, allocations: 198.1 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.368e-05/1.227, allocations: 15.44 kB / 1.06 GB, free: 145.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001305/1.227, allocations: 389.9 kB / 1.06 GB, free: 144.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/1.228, allocations: 269.7 kB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/1.229, allocations: 382.5 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.23, allocations: 323 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.23, allocations: 0 / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002779/1.233, allocations: 0.8703 MB / 1.062 GB, free: 144.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/1.233, allocations: 170.8 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.233, allocations: 2.844 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/1.233, allocations: 2.938 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.234, allocations: 126.3 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/1.235, allocations: 7.547 kB / 1.062 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/1.236, allocations: 131.8 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/1.236, allocations: 26.78 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.236, allocations: 8.922 kB / 1.063 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002261/1.238, allocations: 0.7652 MB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/1.238, allocations: 2.906 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/1.238, allocations: 5.781 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008617/1.239, allocations: 107.8 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/1.239, allocations: 7.141 kB / 1.063 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/1.24, allocations: 112.1 kB / 1.064 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.059e-05/1.24, allocations: 27.66 kB / 1.064 GB, free: 144.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.optSta.hysSta.y,optSta.hysSta.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.nexStaInd,occSch.nexStaInd,$PRE.occSch.nexStoInd,occSch.nexStoInd,$PRE.occSch.iPerSta,occSch.iPerSta,$PRE.occSch.iPerSto,occSch.iPerSto,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.pul.T_start,pul.T_start,$PRE.pul.count,pul.count,booToRea1.u,conPID.I.trigger_internal,conPID1.I.trigger_internal,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005749/1.241, allocations: 295 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/1.241, allocations: 70.31 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001892/1.241, allocations: 75.33 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/1.241, allocations: 11.06 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.424e-05/1.241, allocations: 1.406 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/1.241, allocations: 2.859 kB / 1.064 GB, free: 144.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003919/1.245, allocations: 1.394 MB / 1.065 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.909e-06/1.245, allocations: 2.016 kB / 1.065 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/1.246, allocations: 106.7 kB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.474e-05/1.246, allocations: 5.938 kB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/1.246, allocations: 18.27 kB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/1.246, allocations: 3.438 kB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.247, allocations: 2.562 kB / 1.066 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00431/1.251, allocations: 1.113 MB / 1.067 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/1.251, allocations: 145.2 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002593/1.251, allocations: 24.95 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008643/1.252, allocations: 55.61 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/1.253, allocations: 61.27 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.106e-05/1.253, allocations: 27.41 kB / 1.067 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008096/1.253, allocations: 359.4 kB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.793e-06/1.254, allocations: 0.625 kB / 1.067 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001527/1.255, allocations: 285.6 kB / 1.068 GB, free: 143.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 15 ($whenCondition3,$whenCondition1,$whenCondition2,optSta.hysSta.y,optSta.falEdg.y,optSta.falEdg.not_u,occSch.occupied,occSch.nexStaInd,occSch.nexStoInd,occSch.iPerSta,occSch.iPerSto,occSch.tOcc,occSch.tNonOcc,pul.T_start,pul.count) * Number of discrete states: 10 (pul.count,occSch.tNonOcc,occSch.tOcc,occSch.iPerSto,occSch.nexStoInd,occSch.occupied,occSch.nexStaInd,occSch.iPerSta,optSta.hysSta.y,optSta.falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003426/1.255, allocations: 146.7 kB / 1.068 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004417/1.26, allocations: 1.309 MB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/1.26, allocations: 1.188 kB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/1.261, allocations: 334.5 kB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.263, allocations: 134.9 kB / 1.069 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004081/1.267, allocations: 1.418 MB / 1.071 GB, free: 142.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000578/1.268, allocations: 0.9175 MB / 1.072 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007892/1.269, allocations: 87.67 kB / 1.072 GB, free: 141.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/1.269, allocations: 52.89 kB / 1.072 GB, free: 141.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.293e-06/1.269, allocations: 3.938 kB / 1.072 GB, free: 141.6 MB / 0.698 GB Notification: Performance of Templates: time 0.02785/1.297, allocations: 7.681 MB / 1.079 GB, free: 141.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)