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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 110.1 kB / 19.59 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 215.2 kB / 22.87 MB, free: 5.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 230.5 MB / 256.5 MB, free: 8.074 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003003/0.003003, allocations: 288.4 kB / 313.2 MB, free: 2.879 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.212/1.212, allocations: 180.8 MB / 0.5376 GB, free: 13.06 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") translateModel(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002927/0.002927, allocations: 97.72 kB / 0.7405 GB, free: 27.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1602, allocations: 95.39 MB / 0.8337 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.003019/0.1632, allocations: 1.506 MB / 0.8352 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.1641, allocations: 496.4 kB / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.418e-05/0.1641, allocations: 0 / 0.8356 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.1642, allocations: 11.92 kB / 0.8356 GB, free: 6.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.73e-05/0.1642, allocations: 3.938 kB / 0.8356 GB, free: 6.012 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001501/0.1644, allocations: 19.92 kB / 0.8357 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.281e-05/0.1645, allocations: 47.91 kB / 0.8357 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.588e-05/0.1646, allocations: 15.97 kB / 0.8357 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.991e-05/0.1647, allocations: 23.88 kB / 0.8357 GB, free: 5.906 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.073e-05/0.1647, allocations: 23.91 kB / 0.8358 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.1647, allocations: 8 kB / 0.8358 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.1648, allocations: 4 kB / 0.8358 GB, free: 5.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.1648, allocations: 7.938 kB / 0.8358 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.4e-05/0.1648, allocations: 23.92 kB / 0.8358 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.165, allocations: 47.75 kB / 0.8359 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.165, allocations: 0 / 0.8359 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.165, allocations: 0 / 0.8359 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.165, allocations: 0 / 0.8359 GB, free: 5.793 MB / 0.5762 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.0005454/0.1655, allocations: 290.2 kB / 0.8361 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.1656, allocations: 13.34 kB / 0.8361 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1656, allocations: 4.938 kB / 0.8361 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.1657, allocations: 118.4 kB / 0.8363 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.1658, allocations: 4.375 kB / 0.8363 GB, free: 5.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1658, allocations: 4.375 kB / 0.8363 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1659, allocations: 57.98 kB / 0.8363 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.1659, allocations: 0 / 0.8363 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1659, allocations: 12 kB / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1659, allocations: 0 / 0.8363 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.659e-05/0.166, allocations: 23.92 kB / 0.8364 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005237/0.1665, allocations: 263.9 kB / 0.8366 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1666, allocations: 58.62 kB / 0.8367 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.1667, allocations: 32.84 kB / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.1667, allocations: 0 / 0.8367 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1669, allocations: 71.34 kB / 0.8368 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1669, allocations: 0 / 0.8368 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002477/0.1671, allocations: 101.6 kB / 0.8369 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.1672, allocations: 55.34 kB / 0.8369 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.994e-05/0.1673, allocations: 117.8 kB / 0.837 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1673, allocations: 29.7 kB / 0.8371 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.1673, allocations: 92.12 kB / 0.8371 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.061e-05/0.1674, allocations: 27.78 kB / 0.8372 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.335e-05/0.1674, allocations: 21.72 kB / 0.8372 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1676, allocations: 330.7 kB / 0.8375 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.1676, allocations: 16 kB / 0.8375 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.134e-05/0.1677, allocations: 47.36 kB / 0.8376 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.85e-05/0.1678, allocations: 71.36 kB / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1678, allocations: 0 / 0.8376 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001598/0.1679, allocations: 97.56 kB / 0.8377 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.1679, allocations: 4 kB / 0.8377 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.1679, allocations: 4 kB / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.168, allocations: 0 / 0.8377 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.421e-05/0.168, allocations: 11.94 kB / 0.8377 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.168, allocations: 8.031 kB / 0.8378 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.009e-05/0.1681, allocations: 7.984 kB / 0.8378 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.1681, allocations: 4 kB / 0.8378 GB, free: 3.625 MB / 0.5762 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 9.84e-05/0.1682, allocations: 125.9 kB / 0.8379 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.429e-05/0.1682, allocations: 3.953 kB / 0.8379 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.584e-05/0.1683, allocations: 12.06 kB / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1683, allocations: 0 / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1683, allocations: 384 / 0.8379 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1683, allocations: 3.984 kB / 0.8379 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004623/0.1687, allocations: 341.4 kB / 0.8382 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1687, allocations: 0 / 0.8382 GB, free: 3.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.1688, allocations: 7.938 kB / 0.8382 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1688, allocations: 0 / 0.8382 GB, free: 3.078 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1688, allocations: 8 kB / 0.8382 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1688, allocations: 3.938 kB / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1688, allocations: 0 / 0.8383 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.169, allocations: 187.4 kB / 0.8384 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-06/0.169, allocations: 4 kB / 0.8384 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.169, allocations: 288 / 0.8384 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.457e-05/0.1691, allocations: 15.92 kB / 0.8384 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.1691, allocations: 7.984 kB / 0.8385 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1691, allocations: 4 kB / 0.8385 GB, free: 2.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.1692, allocations: 87.27 kB / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1692, allocations: 0 / 0.8385 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002383/0.1694, allocations: 11.95 kB / 0.8386 GB, free: 2.738 MB / 0.5762 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 9.719e-05/0.1695, allocations: 107.2 kB / 0.8387 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.1697, allocations: 47.92 kB / 0.8387 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.1697, allocations: 4 kB / 0.8387 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.533e-05/0.1697, allocations: 27.92 kB / 0.8387 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.17, allocations: 4 kB / 0.8387 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.1703, allocations: 157.6 kB / 0.8389 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.965e-05/0.1704, allocations: 71.41 kB / 0.839 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.855e-05/0.1704, allocations: 11.92 kB / 0.839 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.74e-05/0.1704, allocations: 11.44 kB / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.1704, allocations: 0 / 0.839 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of Templates: time 0.003262/0.1737, allocations: 0.8405 MB / 0.8398 GB, free: 1.426 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.makefile [Timeout 660] (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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.768731935997494] Failed to read output from testmodel.py, exit status != 0: 0.18076345599547494 0.19608112900000002 0.028051293 Calling exit ...