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.002092/0.002092, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.002254/0.002254, allocations: 212 kB / 22.25 MB, free: 5.258 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00262/0.00262, allocations: 283.9 kB / 312.7 MB, free: 2.605 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.43 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.003118/0.003118, allocations: 103 kB / 0.74 GB, free: 27.91 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1738, allocations: 95.39 MB / 0.8331 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002699/0.1765, allocations: 1.492 MB / 0.8346 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.1773, allocations: 452.5 kB / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.995e-05/0.1774, allocations: 0 / 0.835 GB, free: 5.855 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.178e-05/0.1774, allocations: 3.938 kB / 0.835 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.447e-05/0.1775, allocations: 15.92 kB / 0.835 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001428/0.1776, allocations: 19.91 kB / 0.835 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.532e-05/0.1777, allocations: 59.72 kB / 0.8351 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.1778, allocations: 8 kB / 0.8351 GB, free: 5.75 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 5.791e-05/0.1779, allocations: 23.92 kB / 0.8351 GB, free: 5.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.154e-05/0.178, allocations: 19.92 kB / 0.8351 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.178, allocations: 4 kB / 0.8351 GB, free: 5.703 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.178, allocations: 4 kB / 0.8352 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.567e-05/0.178, allocations: 15.97 kB / 0.8352 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.312e-05/0.1781, allocations: 19.86 kB / 0.8352 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001025/0.1782, allocations: 39.83 kB / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1782, allocations: 0 / 0.8352 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1782, allocations: 4 kB / 0.8352 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1782, allocations: 3.938 kB / 0.8352 GB, free: 5.617 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.0004894/0.1787, allocations: 290.2 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1787, allocations: 17.34 kB / 0.8355 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1787, allocations: 0.9375 kB / 0.8355 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.1789, allocations: 110.5 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1789, allocations: 8.359 kB / 0.8356 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.1789, allocations: 8.375 kB / 0.8356 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.179, allocations: 57.94 kB / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.844e-06/0.179, allocations: 0 / 0.8357 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.179, allocations: 4 kB / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.179, allocations: 0 / 0.8357 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.513e-05/0.1791, allocations: 27.97 kB / 0.8357 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000474/0.1796, allocations: 236.5 kB / 0.836 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1797, allocations: 58.53 kB / 0.836 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.908e-05/0.1797, allocations: 24.94 kB / 0.836 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.564e-06/0.1797, allocations: 0 / 0.836 GB, free: 4.691 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001502/0.1799, allocations: 71.34 kB / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1799, allocations: 0 / 0.8361 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0002507/0.1802, allocations: 113.5 kB / 0.8362 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1802, allocations: 55.34 kB / 0.8363 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.1803, allocations: 113.8 kB / 0.8364 GB, free: 4.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.1803, allocations: 29.7 kB / 0.8364 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.1804, allocations: 84.14 kB / 0.8365 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.1804, allocations: 27.78 kB / 0.8365 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.59e-05/0.1804, allocations: 25.72 kB / 0.8365 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1806, allocations: 326.8 kB / 0.8368 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.86e-05/0.1806, allocations: 16 kB / 0.8369 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.1807, allocations: 43.42 kB / 0.8369 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.606e-05/0.1808, allocations: 67.36 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1808, allocations: 0 / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001566/0.1809, allocations: 101.6 kB / 0.8371 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1809, allocations: 10.17 kB / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.181, allocations: 0 / 0.8371 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.181, allocations: 4 kB / 0.8371 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.245e-05/0.181, allocations: 11.94 kB / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.181, allocations: 0 / 0.8371 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.739e-05/0.1811, allocations: 11.98 kB / 0.8371 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1811, allocations: 4 kB / 0.8371 GB, free: 3.504 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.591e-05/0.1812, allocations: 118.4 kB / 0.8372 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1812, allocations: 11.98 kB / 0.8372 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.375e-05/0.1813, allocations: 8.062 kB / 0.8372 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.1813, allocations: 7.938 kB / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1813, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1813, allocations: 0 / 0.8372 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003836/0.1817, allocations: 306 kB / 0.8375 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1817, allocations: 0 / 0.8375 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1817, allocations: 8.469 kB / 0.8375 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1817, allocations: 0 / 0.8375 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1817, allocations: 0 / 0.8375 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1817, allocations: 0 / 0.8375 GB, free: 3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1817, allocations: 7.984 kB / 0.8376 GB, free: 2.992 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.1819, allocations: 191.3 kB / 0.8377 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.1819, allocations: 288 / 0.8377 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.925e-05/0.1819, allocations: 7.984 kB / 0.8377 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.182, allocations: 4 kB / 0.8377 GB, free: 2.777 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/0.182, allocations: 11.97 kB / 0.8378 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.1821, allocations: 7.938 kB / 0.8378 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.1821, allocations: 83.27 kB / 0.8378 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.1821, allocations: 0 / 0.8378 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002465/0.1824, allocations: 19.95 kB / 0.8379 GB, free: 2.656 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.621e-05/0.1825, allocations: 103.2 kB / 0.838 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.1826, allocations: 51.86 kB / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1826, allocations: 0 / 0.838 GB, free: 2.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/0.1826, allocations: 23.98 kB / 0.838 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.1829, allocations: 20.12 kB / 0.8381 GB, free: 2.453 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003039/0.1832, allocations: 141.6 kB / 0.8382 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.999e-05/0.1833, allocations: 74.83 kB / 0.8383 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.697e-05/0.1833, allocations: 8.062 kB / 0.8383 GB, free: 2.191 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.1834, allocations: 11.44 kB / 0.8383 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1834, allocations: 0 / 0.8383 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of Templates: time 0.003422/0.1868, allocations: 0.8447 MB / 0.8391 GB, free: 1.359 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.104092435911298] Failed to read output from testmodel.py, exit status != 0: 0.19389542192220688 0.20903328200000001 0.027864804000000003 Calling exit ...