Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 104.1 kB / 16.4 MB, free: 6.461 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.001261/0.001261, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7305/0.7305, allocations: 115.3 MB / 406.5 MB, free: 6.215 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 67.2 kB / 0.5577 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1627, allocations: 76.18 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002883/0.1657, allocations: 1.476 MB / 0.6335 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.167, allocations: 0.6891 MB / 0.6342 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1671, allocations: 7.938 kB / 0.6342 GB, free: 2.25 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.235e-05/0.1672, allocations: 11.86 kB / 0.6342 GB, free: 2.238 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.817e-05/0.1673, allocations: 11.88 kB / 0.6342 GB, free: 2.227 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.1684, allocations: 341.2 kB / 0.6345 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002319/0.1686, allocations: 167.7 kB / 0.6347 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.619e-05/0.1687, allocations: 12 kB / 0.6347 GB, free: 1.723 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1688, allocations: 71.81 kB / 0.6348 GB, free: 1.652 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.1689, allocations: 47.77 kB / 0.6348 GB, free: 1.605 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.169, allocations: 12 kB / 0.6348 GB, free: 1.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005889/0.1696, allocations: 251.8 kB / 0.6351 GB, free: 1.348 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 9.548e-05/0.1697, allocations: 47.83 kB / 0.6351 GB, free: 1.301 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1698, allocations: 59.72 kB / 0.6352 GB, free: 1.242 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.1703, allocations: 299.3 kB / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1703, allocations: 0 / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1703, allocations: 0 / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.1703, allocations: 0 / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007036/0.171, allocations: 486.8 kB / 0.6359 GB, free: 432 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.1711, allocations: 8.031 kB / 0.6359 GB, free: 424 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.847e-05/0.1712, allocations: 16.83 kB / 0.6359 GB, free: 408 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1715, allocations: 213.5 kB / 0.6361 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.1715, allocations: 8.375 kB / 0.6361 GB, free: 148 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.1716, allocations: 12.38 kB / 0.6362 GB, free: 136 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1718, allocations: 100.7 kB / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1719, allocations: 192 / 0.6363 GB, free: 20 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.1719, allocations: 3.938 kB / 0.6363 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1719, allocations: 0 / 0.6363 GB, free: 16 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.172, allocations: 51.91 kB / 0.6363 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002641/0.1723, allocations: 247.4 kB / 0.6365 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1724, allocations: 107.9 kB / 0.6366 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1726, allocations: 70.67 kB / 0.6367 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.1726, allocations: 4 kB / 0.6367 GB, free: 15.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/0.1728, allocations: 149.6 kB / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.1728, allocations: 0 / 0.6369 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0004413/0.1733, allocations: 210.2 kB / 0.6371 GB, free: 15.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.1734, allocations: 114.8 kB / 0.6372 GB, free: 14.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1735, allocations: 147.8 kB / 0.6373 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.1735, allocations: 33.7 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1736, allocations: 92.7 kB / 0.6374 GB, free: 14.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.373e-05/0.1737, allocations: 59.33 kB / 0.6375 GB, free: 14.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.331e-05/0.1738, allocations: 61.69 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1739, allocations: 326.8 kB / 0.6379 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.1741, allocations: 48.27 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1743, allocations: 185.1 kB / 0.6381 GB, free: 13.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.1745, allocations: 130.5 kB / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1745, allocations: 0 / 0.6382 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003071/0.1748, allocations: 201.3 kB / 0.6384 GB, free: 13.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1748, allocations: 8 kB / 0.6384 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/0.1749, allocations: 7.984 kB / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1749, allocations: 0 / 0.6384 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.175, allocations: 19.94 kB / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.1751, allocations: 240 / 0.6384 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002457/0.1753, allocations: 51.73 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.1753, allocations: 4 kB / 0.6385 GB, free: 13.5 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001379/0.1755, allocations: 152.1 kB / 0.6386 GB, free: 13.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.1755, allocations: 15.75 kB / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.451e-05/0.1756, allocations: 12.72 kB / 0.6387 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1756, allocations: 0 / 0.6387 GB, free: 13.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1756, allocations: 3.984 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1756, allocations: 8 kB / 0.6387 GB, free: 13.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1758, allocations: 209.4 kB / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1758, allocations: 0 / 0.6389 GB, free: 13.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.1758, allocations: 19.92 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.1758, allocations: 4 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.1759, allocations: 4 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1759, allocations: 0 / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1759, allocations: 7.984 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003517/0.1762, allocations: 202.6 kB / 0.6391 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.142e-05/0.1763, allocations: 92.86 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.1763, allocations: 15.94 kB / 0.6392 GB, free: 12.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.84e-05/0.1764, allocations: 7.938 kB / 0.6392 GB, free: 12.65 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.977e-05/0.1764, allocations: 11.92 kB / 0.6392 GB, free: 12.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.1765, allocations: 8 kB / 0.6392 GB, free: 12.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.132e-05/0.1766, allocations: 109 kB / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1766, allocations: 0 / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004297/0.177, allocations: 95.98 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004057/0.1774, allocations: 199.1 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003497/0.1778, allocations: 221 kB / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1778, allocations: 0 / 0.6398 GB, free: 12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.1779, allocations: 55.92 kB / 0.6399 GB, free: 11.94 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001859/0.1781, allocations: 17.16 kB / 0.6399 GB, free: 11.93 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.1786, allocations: 236.8 kB / 0.6401 GB, free: 11.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.1789, allocations: 0.7126 MB / 0.6408 GB, free: 10.92 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.092e-05/0.179, allocations: 13.16 kB / 0.6408 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.989e-05/0.179, allocations: 11.44 kB / 0.6408 GB, free: 10.89 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.179, allocations: 0 / 0.6408 GB, free: 10.89 MB / 494.1 MB Notification: Performance of Templates: time 0.006591/0.1856, allocations: 3.105 MB / 0.6439 GB, free: 7.812 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)