Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") translateModel(Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.673/1.673, allocations: 293 MB / 309 MB, free: 4.82 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 177.5 kB / 378.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 0.6383 GB, free: 8.191 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000783/0.0007833, allocations: 90.08 kB / 0.7527 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004216, allocations: 12 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2781, allocations: 116.4 MB / 0.9904 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7468/1.025, allocations: 147.9 MB / 1.135 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/1.025, allocations: 74.97 kB / 1.135 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03374/1.059, allocations: 12.44 MB / 1.147 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.894e-06/1.059, allocations: 0 / 1.147 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.008e-05/1.059, allocations: 16 kB / 1.147 GB, free: 19.59 MB / 0.7292 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.002172/1.061, allocations: 1.025 MB / 1.148 GB, free: 18.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.061, allocations: 8.031 kB / 1.148 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/1.062, allocations: 97.5 kB / 1.148 GB, free: 18.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009232/1.063, allocations: 0.5052 MB / 1.149 GB, free: 18.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.757e-05/1.063, allocations: 51.38 kB / 1.149 GB, free: 17.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/1.063, allocations: 68.89 kB / 1.149 GB, free: 17.89 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/1.064, allocations: 0.6228 MB / 1.149 GB, free: 17.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/1.064, allocations: 3.938 kB / 1.149 GB, free: 17.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/1.064, allocations: 26.44 kB / 1.149 GB, free: 17.32 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/1.064, allocations: 16 kB / 1.149 GB, free: 17.3 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.065, allocations: 465.8 kB / 1.15 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/1.069, allocations: 2.098 MB / 1.152 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/1.07, allocations: 0.9871 MB / 1.153 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003946/1.071, allocations: 244.6 kB / 1.153 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.337e-05/1.071, allocations: 8.375 kB / 1.153 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005356/1.071, allocations: 313.5 kB / 1.153 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=57): time 2.685e-06/1.071, allocations: 0 / 1.153 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57): time 0.001292/1.073, allocations: 0.6904 MB / 1.154 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/1.073, allocations: 117.8 kB / 1.154 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006007/1.073, allocations: 0.5305 MB / 1.155 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.886e-05/1.074, allocations: 47.48 kB / 1.155 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/1.074, allocations: 333.4 kB / 1.155 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/1.074, allocations: 185.1 kB / 1.155 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/1.074, allocations: 12 kB / 1.155 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.074, allocations: 377 kB / 1.156 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004089/1.074, allocations: 212 kB / 1.156 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004796/1.075, allocations: 367.8 kB / 1.156 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/1.076, allocations: 0.4901 MB / 1.157 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.076, allocations: 0 / 1.157 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001131/1.077, allocations: 0.6753 MB / 1.157 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.593e-05/1.077, allocations: 170.2 kB / 1.158 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/1.077, allocations: 4 kB / 1.158 GB, free: 9.73 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/1.077, allocations: 4 kB / 1.158 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003784/1.077, allocations: 107.1 kB / 1.158 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.077, allocations: 8 kB / 1.158 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000515/1.078, allocations: 122.7 kB / 1.158 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/1.078, allocations: 26.81 kB / 1.158 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.078, allocations: 5.031 kB / 1.158 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008422/1.079, allocations: 0.5308 MB / 1.158 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.88e-05/1.079, allocations: 6.922 kB / 1.158 GB, free: 9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.846e-06/1.079, allocations: 15.86 kB / 1.158 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/1.079, allocations: 85.45 kB / 1.158 GB, free: 8.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/1.079, allocations: 9.391 kB / 1.158 GB, free: 8.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/1.08, allocations: 104.1 kB / 1.159 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/1.08, allocations: 22.27 kB / 1.159 GB, free: 8.797 MB / 0.7292 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.0003877/1.08, allocations: 285.7 kB / 1.159 GB, free: 8.512 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/1.08, allocations: 75.03 kB / 1.159 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/1.08, allocations: 75.36 kB / 1.159 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/1.081, allocations: 8.781 kB / 1.159 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.635e-05/1.081, allocations: 0 / 1.159 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.081, allocations: 2.578 kB / 1.159 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00185/1.082, allocations: 1.295 MB / 1.16 GB, free: 7.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.082, allocations: 4 kB / 1.16 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003461/1.083, allocations: 88.7 kB / 1.16 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/1.083, allocations: 0 / 1.16 GB, free: 7.125 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.314e-05/1.083, allocations: 16 kB / 1.16 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.083, allocations: 0 / 1.16 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.083, allocations: 1.031 kB / 1.16 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00119/1.084, allocations: 0.886 MB / 1.161 GB, free: 6.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.084, allocations: 148.2 kB / 1.161 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/1.084, allocations: 13 kB / 1.161 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/1.085, allocations: 43.97 kB / 1.161 GB, free: 5.977 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/1.085, allocations: 40.31 kB / 1.161 GB, free: 5.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.097e-05/1.085, allocations: 19.98 kB / 1.161 GB, free: 5.918 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003943/1.085, allocations: 374.8 kB / 1.162 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.085, allocations: 0 / 1.162 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007932/1.086, allocations: 291.1 kB / 1.162 GB, free: 5.27 MB / 0.7292 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.0002887/1.086, allocations: 177.6 kB / 1.162 GB, free: 5.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.088, allocations: 0.9662 MB / 1.163 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/1.088, allocations: 192 / 1.163 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004174/1.088, allocations: 246.5 kB / 1.163 GB, free: 3.852 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007988/1.089, allocations: 118.7 kB / 1.164 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001986/1.091, allocations: 1.372 MB / 1.165 GB, free: 2.336 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/1.091, allocations: 0.9069 MB / 1.166 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003658/1.092, allocations: 88.75 kB / 1.166 GB, free: 1.316 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/1.092, allocations: 43.44 kB / 1.166 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of SimCode: time 6.51e-07/1.092, allocations: 0.9375 kB / 1.166 GB, free: 1.273 MB / 0.7292 GB Notification: Performance of Templates: time 0.01707/1.109, allocations: 7.417 MB / 1.173 GB, free: 10 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.sim & ./Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Utilities.Validation.OptimalStartNoHeatingNoCooling.pipe 2>&1)