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.001111/0.001111, allocations: 108.2 kB / 16.41 MB, free: 6.512 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.001017/0.001017, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7579/0.7579, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 60.45 kB / 0.5684 GB, free: 28.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 77.94 MB / 0.6445 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002599/0.1563, allocations: 1.464 MB / 0.646 GB, free: 7.547 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1576, allocations: 0.7018 MB / 0.6467 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.452e-05/0.1576, allocations: 0 / 0.6467 GB, free: 6.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.838e-05/0.1578, allocations: 11.86 kB / 0.6467 GB, free: 6.832 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.1578, allocations: 11.88 kB / 0.6467 GB, free: 6.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009297/0.1588, allocations: 346 kB / 0.647 GB, free: 6.484 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.1591, allocations: 175.6 kB / 0.6472 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.1591, allocations: 15.98 kB / 0.6472 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.1592, allocations: 67.88 kB / 0.6473 GB, free: 6.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.894e-05/0.1593, allocations: 51.77 kB / 0.6473 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.368e-05/0.1594, allocations: 12 kB / 0.6473 GB, free: 6.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.1597, allocations: 243.8 kB / 0.6475 GB, free: 5.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.035e-05/0.1598, allocations: 39.89 kB / 0.6476 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.423e-05/0.1599, allocations: 59.72 kB / 0.6476 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004161/0.1603, allocations: 311 kB / 0.6479 GB, free: 5.527 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1603, allocations: 4 kB / 0.6479 GB, free: 5.523 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1603, allocations: 0 / 0.6479 GB, free: 5.523 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1603, allocations: 0 / 0.6479 GB, free: 5.523 MB / 494.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.0006529/0.161, allocations: 482.5 kB / 0.6484 GB, free: 5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.161, allocations: 8.625 kB / 0.6484 GB, free: 4.992 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.335e-05/0.1611, allocations: 16.84 kB / 0.6484 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002189/0.1613, allocations: 205.8 kB / 0.6486 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1614, allocations: 4.375 kB / 0.6486 GB, free: 4.734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.1614, allocations: 16.38 kB / 0.6486 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1616, allocations: 100.7 kB / 0.6487 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.1616, allocations: 192 / 0.6487 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1616, allocations: 7.922 kB / 0.6487 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1616, allocations: 4 kB / 0.6487 GB, free: 4.594 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.199e-05/0.1617, allocations: 43.92 kB / 0.6488 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/0.162, allocations: 255.3 kB / 0.649 GB, free: 4.246 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1621, allocations: 107.9 kB / 0.6491 GB, free: 4.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.701e-05/0.1622, allocations: 70.61 kB / 0.6492 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.1623, allocations: 7.984 kB / 0.6492 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1625, allocations: 147.4 kB / 0.6494 GB, free: 3.863 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 2.414e-06/0.1625, allocations: 3.984 kB / 0.6494 GB, free: 3.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003841/0.1629, allocations: 218.2 kB / 0.6496 GB, free: 3.641 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.163, allocations: 110.8 kB / 0.6497 GB, free: 3.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001122/0.1631, allocations: 155.1 kB / 0.6498 GB, free: 3.348 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1631, allocations: 33.7 kB / 0.6499 GB, free: 3.309 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.339e-05/0.1632, allocations: 92.7 kB / 0.6499 GB, free: 3.215 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.031e-05/0.1633, allocations: 59.61 kB / 0.65 GB, free: 3.156 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.304e-05/0.1633, allocations: 61.69 kB / 0.6501 GB, free: 3.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1635, allocations: 326.8 kB / 0.6504 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/0.1636, allocations: 52.2 kB / 0.6504 GB, free: 2.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.1638, allocations: 182.5 kB / 0.6506 GB, free: 2.488 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001734/0.164, allocations: 130.5 kB / 0.6507 GB, free: 2.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.164, allocations: 0 / 0.6507 GB, free: 2.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002702/0.1642, allocations: 201.3 kB / 0.6509 GB, free: 2.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1643, allocations: 12 kB / 0.6509 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/0.1643, allocations: 7.984 kB / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1643, allocations: 0 / 0.6509 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.1644, allocations: 20 kB / 0.6509 GB, free: 2.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.1644, allocations: 3.938 kB / 0.6509 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.1646, allocations: 47.84 kB / 0.651 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.1647, allocations: 7.938 kB / 0.651 GB, free: 2.051 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.0001076/0.1648, allocations: 145 kB / 0.6511 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.1648, allocations: 15.84 kB / 0.6512 GB, free: 1.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.1648, allocations: 16.7 kB / 0.6512 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1648, allocations: 0 / 0.6512 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1649, allocations: 4 kB / 0.6512 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1649, allocations: 0 / 0.6512 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.165, allocations: 209.5 kB / 0.6514 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.165, allocations: 0 / 0.6514 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.1651, allocations: 11.94 kB / 0.6514 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1651, allocations: 4 kB / 0.6514 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1651, allocations: 4 kB / 0.6514 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.1651, allocations: 8 kB / 0.6514 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1651, allocations: 0 / 0.6514 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.1654, allocations: 210.6 kB / 0.6516 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1655, allocations: 92.95 kB / 0.6517 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1655, allocations: 4 kB / 0.6517 GB, free: 1.234 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.667e-05/0.1656, allocations: 15.92 kB / 0.6517 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.1656, allocations: 11.94 kB / 0.6517 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1656, allocations: 15.92 kB / 0.6517 GB, free: 1.191 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.187e-05/0.1657, allocations: 101.6 kB / 0.6518 GB, free: 1.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1657, allocations: 0 / 0.6518 GB, free: 1.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003649/0.1661, allocations: 103.8 kB / 0.6519 GB, free: 0.9922 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.0004148/0.1665, allocations: 203.2 kB / 0.6521 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.1668, allocations: 213.1 kB / 0.6523 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1669, allocations: 4 kB / 0.6523 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.92e-05/0.167, allocations: 63.91 kB / 0.6524 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001722/0.1671, allocations: 15.36 kB / 0.6524 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.1676, allocations: 236.6 kB / 0.6526 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.168, allocations: 0.7123 MB / 0.6533 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.921e-05/0.168, allocations: 12.88 kB / 0.6533 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.706e-05/0.1681, allocations: 11.44 kB / 0.6534 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1681, allocations: 0 / 0.6534 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of Templates: time 0.007024/0.1751, allocations: 3.103 MB / 0.6564 GB, free: 12.38 MB / 0.4981 GB 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)