Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.638/1.638, allocations: 297.8 MB / 313.7 MB, free: 104 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 187 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 223.2 MB / 0.6626 GB, free: 4.355 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008061/0.0008061, allocations: 95.33 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 12 kB / 0.9088 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6098/0.6103, allocations: 120.3 MB / 1.026 GB, free: 56.71 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.174/0.7843, allocations: 150 MB / 1.173 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.7846, allocations: 71.95 kB / 1.173 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03177/0.8164, allocations: 12.46 MB / 1.185 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.341e-05/0.8164, allocations: 0 / 1.185 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.714e-05/0.8165, allocations: 16 kB / 1.185 GB, free: 11.71 MB / 0.7605 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.001938/0.8185, allocations: 1.031 MB / 1.186 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8185, allocations: 8.031 kB / 1.186 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.8187, allocations: 99.91 kB / 1.186 GB, free: 10.52 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.8195, allocations: 0.5009 MB / 1.187 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.374e-05/0.8195, allocations: 53.69 kB / 1.187 GB, free: 9.922 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.8197, allocations: 68.36 kB / 1.187 GB, free: 9.855 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.8207, allocations: 0.6198 MB / 1.187 GB, free: 9.211 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.8207, allocations: 3.938 kB / 1.187 GB, free: 9.207 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.8208, allocations: 28 kB / 1.187 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.8208, allocations: 16 kB / 1.187 GB, free: 9.164 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008628/0.8217, allocations: 472.9 kB / 1.188 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.8245, allocations: 2.099 MB / 1.19 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.8264, allocations: 0.9886 MB / 1.191 GB, free: 5.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.8268, allocations: 246.5 kB / 1.191 GB, free: 5.258 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.224e-05/0.8269, allocations: 8.438 kB / 1.191 GB, free: 5.25 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005254/0.8274, allocations: 301.9 kB / 1.191 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=57): time 2.605e-06/0.8274, allocations: 8 kB / 1.191 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of matching and sorting (n=57): time 0.001289/0.8287, allocations: 0.6811 MB / 1.192 GB, free: 4.25 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.8288, allocations: 115.4 kB / 1.192 GB, free: 4.113 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.8294, allocations: 0.5343 MB / 1.193 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.407e-05/0.8295, allocations: 45.7 kB / 1.193 GB, free: 3.516 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.8297, allocations: 340.7 kB / 1.193 GB, free: 3.18 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.8298, allocations: 185.4 kB / 1.193 GB, free: 2.996 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.8299, allocations: 12 kB / 1.193 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.83, allocations: 370.8 kB / 1.194 GB, free: 2.613 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004131/0.8305, allocations: 217.1 kB / 1.194 GB, free: 2.402 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005209/0.831, allocations: 365.1 kB / 1.194 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008073/0.8318, allocations: 499.2 kB / 1.195 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8318, allocations: 0 / 1.195 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001163/0.833, allocations: 0.6754 MB / 1.195 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.8331, allocations: 175.2 kB / 1.195 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.8331, allocations: 0 / 1.195 GB, free: 0.5781 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.8332, allocations: 4 kB / 1.196 GB, free: 0.5742 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.8335, allocations: 111.8 kB / 1.196 GB, free: 476 kB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.8336, allocations: 4 kB / 1.196 GB, free: 472 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004673/0.834, allocations: 123.4 kB / 1.196 GB, free: 348 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.8341, allocations: 24 kB / 1.196 GB, free: 324 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.8341, allocations: 4 kB / 1.196 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008926/0.835, allocations: 0.5341 MB / 1.196 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.8351, allocations: 7.984 kB / 1.196 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.8351, allocations: 11.97 kB / 1.196 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/0.8354, allocations: 87.84 kB / 1.196 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.8354, allocations: 7.938 kB / 1.196 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004105/0.8358, allocations: 103.8 kB / 1.196 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.161e-05/0.8359, allocations: 23.98 kB / 1.197 GB, free: 15.53 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,$PRE.optSta.hysSta.greHys.y,optSta.hysSta.greHys.y,optSta.falEdg.y,$PRE.optSta.falEdg.not_u,optSta.falEdg.not_u,$PRE.occSch.occupied,occSch.occupied,$PRE.occSch.tOcc,occSch.tOcc,$PRE.occSch.tNonOcc,occSch.tNonOcc,$PRE.occSch.tNext,occSch.tNext,$PRE.pul.booPul.y,pul.booPul.y,booToRea1.u,TRoo.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0003013/0.8362, allocations: 282.8 kB / 1.197 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.8363, allocations: 67.19 kB / 1.197 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.8364, allocations: 74.56 kB / 1.197 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.8364, allocations: 7.938 kB / 1.197 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.8364, allocations: 0 / 1.197 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.8365, allocations: 7.984 kB / 1.197 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.8383, allocations: 1.294 MB / 1.198 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.8383, allocations: 0 / 1.198 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.8387, allocations: 87.83 kB / 1.198 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.8387, allocations: 4 kB / 1.198 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.8387, allocations: 15.98 kB / 1.198 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.8387, allocations: 0 / 1.198 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.8387, allocations: 8 kB / 1.198 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.8401, allocations: 0.8783 MB / 1.199 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.8402, allocations: 148.2 kB / 1.199 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.8403, allocations: 16 kB / 1.199 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.8406, allocations: 39.97 kB / 1.199 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.8407, allocations: 44.34 kB / 1.199 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.8408, allocations: 19.98 kB / 1.199 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003938/0.8412, allocations: 378.8 kB / 1.2 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8412, allocations: 0 / 1.2 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007025/0.8419, allocations: 287.1 kB / 1.2 GB, free: 11.78 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TRoo.y,conPID1.I.y,conPID.I.y) * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,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 (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000276/0.8422, allocations: 171.6 kB / 1.2 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.8436, allocations: 0.9693 MB / 1.201 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.8437, allocations: 4.062 kB / 1.201 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.8441, allocations: 242.5 kB / 1.201 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.8448, allocations: 119.2 kB / 1.202 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.8467, allocations: 1.362 MB / 1.203 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.8472, allocations: 0.9069 MB / 1.204 GB, free: 7.91 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0003114/0.8475, allocations: 84.67 kB / 1.204 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001286/0.8476, allocations: 47.42 kB / 1.204 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of SimCode: time 3.31e-07/0.8476, allocations: 0 / 1.204 GB, free: 7.781 MB / 0.7761 GB Notification: Performance of Templates: time 0.01248/0.8601, allocations: 7.411 MB / 1.211 GB, free: 484 kB / 0.7761 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)