Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005429/0.005429, allocations: 104.4 kB / 15.73 MB, free: 6.035 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.001301/0.001301, allocations: 196 kB / 16.67 MB, free: 5.969 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002023/0.002023, allocations: 274.2 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9025/0.9025, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 95.84 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1585, allocations: 86.98 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002347/0.1608, allocations: 1.465 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006615/0.1615, allocations: 447.4 kB / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.665e-05/0.1616, allocations: 0 / 0.7682 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.1616, allocations: 3.938 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.101e-05/0.1617, allocations: 11.92 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1618, allocations: 19.92 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.1619, allocations: 51.89 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.162, allocations: 8 kB / 0.7683 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.1621, allocations: 23.86 kB / 0.7683 GB, free: 6.391 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.1622, allocations: 27.91 kB / 0.7684 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.1622, allocations: 4 kB / 0.7684 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.059e-05/0.1622, allocations: 8 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.1622, allocations: 7.938 kB / 0.7684 GB, free: 6.344 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.1623, allocations: 35.83 kB / 0.7684 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.1624, allocations: 47.77 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1624, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1624, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.1624, allocations: 0 / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004788/0.1629, allocations: 359.4 kB / 0.7688 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.1629, allocations: 12.03 kB / 0.7688 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.165e-05/0.1629, allocations: 4.844 kB / 0.7688 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.1631, allocations: 172.3 kB / 0.769 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.1631, allocations: 8.375 kB / 0.769 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1631, allocations: 4.375 kB / 0.769 GB, free: 5.629 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.1632, allocations: 57.98 kB / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1633, allocations: 0 / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.1633, allocations: 0 / 0.7691 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1633, allocations: 8 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.544e-05/0.1633, allocations: 27.92 kB / 0.7691 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.1638, allocations: 296.7 kB / 0.7694 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.086e-05/0.1639, allocations: 58.59 kB / 0.7694 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.327e-05/0.1639, allocations: 28.94 kB / 0.7695 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.1639, allocations: 4 kB / 0.7695 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.1641, allocations: 67.39 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.1641, allocations: 0 / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.0002047/0.1643, allocations: 101.8 kB / 0.7696 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1643, allocations: 55.41 kB / 0.7697 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.314e-05/0.1644, allocations: 101.9 kB / 0.7698 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1644, allocations: 37.64 kB / 0.7698 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.1645, allocations: 96.03 kB / 0.7699 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.1645, allocations: 15.75 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.1646, allocations: 33.64 kB / 0.7699 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.729e-05/0.1647, allocations: 322.8 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.1647, allocations: 19.92 kB / 0.7703 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.816e-05/0.1648, allocations: 47.36 kB / 0.7703 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.61e-05/0.1648, allocations: 67.38 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1649, allocations: 0 / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00013/0.165, allocations: 105.7 kB / 0.7705 GB, free: 3.945 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.165, allocations: 4 kB / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.165, allocations: 0 / 0.7705 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.165, allocations: 4 kB / 0.7705 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.66e-05/0.1651, allocations: 12 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1651, allocations: 7.922 kB / 0.7705 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.008e-05/0.1652, allocations: 8.031 kB / 0.7705 GB, free: 3.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1652, allocations: 4 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 8.083e-05/0.1653, allocations: 121.5 kB / 0.7706 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1653, allocations: 7.906 kB / 0.7706 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.652e-05/0.1653, allocations: 11.95 kB / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1653, allocations: 0 / 0.7707 GB, free: 3.762 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1653, allocations: 4 kB / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1653, allocations: 0 / 0.7707 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.1657, allocations: 366.4 kB / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1657, allocations: 0 / 0.771 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.1658, allocations: 7.938 kB / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.1658, allocations: 0 / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.1658, allocations: 0 / 0.771 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1658, allocations: 3.938 kB / 0.771 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1658, allocations: 7.984 kB / 0.771 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.1659, allocations: 191.4 kB / 0.7712 GB, free: 3.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.166, allocations: 77.11 kB / 0.7713 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.166, allocations: 7.922 kB / 0.7713 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.1661, allocations: 7.938 kB / 0.7713 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1661, allocations: 11.98 kB / 0.7713 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1661, allocations: 4 kB / 0.7713 GB, free: 2.996 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.788e-05/0.1662, allocations: 79.28 kB / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1662, allocations: 0 / 0.7714 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002321/0.1664, allocations: 19.98 kB / 0.7714 GB, free: 2.898 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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 7.866e-05/0.1665, allocations: 99.25 kB / 0.7715 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001191/0.1666, allocations: 51.92 kB / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1666, allocations: 0 / 0.7716 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.91e-05/0.1667, allocations: 27.92 kB / 0.7716 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.167, allocations: 12 kB / 0.7716 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.1673, allocations: 149.5 kB / 0.7717 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1675, allocations: 0.6924 MB / 0.7724 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.482e-05/0.1675, allocations: 4 kB / 0.7724 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.1675, allocations: 11.44 kB / 0.7724 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1676, allocations: 0 / 0.7724 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of Templates: time 0.00268/0.1702, allocations: 0.8151 MB / 0.7732 GB, free: 0.9883 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)