Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.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.001389/0.001389, allocations: 104.3 kB / 20.45 MB, free: 1.383 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.001513/0.001513, allocations: 210.5 kB / 23.75 MB, free: 4.539 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.535/1.535, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9422/0.9422, allocations: 149.9 MB / 463.8 MB, free: 10.33 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold") [Timeout 660] "Notification: IBPSA 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.002088/0.002088, allocations: 62.75 kB / 0.6423 GB, free: 9.633 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1612, allocations: 89.17 MB / 0.7294 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold): time 0.002005/0.1632, allocations: 0.6489 MB / 0.73 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.1648, allocations: 1.092 MB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.508e-05/0.1648, allocations: 4 kB / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.1649, allocations: 0 / 0.7311 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.1649, allocations: 15.86 kB / 0.7311 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003227/0.1653, allocations: 47.83 kB / 0.7311 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.1654, allocations: 47.86 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.1655, allocations: 11.97 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.887e-05/0.1655, allocations: 16 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.1656, allocations: 27.84 kB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1656, allocations: 4 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.1657, allocations: 23.92 kB / 0.7313 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.1657, allocations: 11.98 kB / 0.7313 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.78e-05/0.1658, allocations: 19.92 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1659, allocations: 63.72 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1659, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.243e-06/0.1659, allocations: 0 / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.1659, allocations: 0 / 0.7313 GB, free: 14.48 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006093/0.1665, allocations: 294.2 kB / 0.7316 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1666, allocations: 8.031 kB / 0.7316 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.89e-05/0.1667, allocations: 12.89 kB / 0.7316 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1668, allocations: 114.4 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.1668, allocations: 4.375 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.778e-05/0.1668, allocations: 4.375 kB / 0.7318 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.167, allocations: 70.16 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.167, allocations: 192 / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.167, allocations: 3.938 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.167, allocations: 0 / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.1672, allocations: 47.95 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004427/0.1677, allocations: 220.5 kB / 0.7321 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1679, allocations: 54.48 kB / 0.7321 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.168, allocations: 32.89 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.168, allocations: 4 kB / 0.7322 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002254/0.1682, allocations: 71.38 kB / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.763e-06/0.1682, allocations: 0 / 0.7322 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0004483/0.1687, allocations: 137.5 kB / 0.7324 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1687, allocations: 51.41 kB / 0.7324 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.1688, allocations: 109.8 kB / 0.7325 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1688, allocations: 25.7 kB / 0.7326 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1689, allocations: 88.14 kB / 0.7326 GB, free: 13 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.1689, allocations: 23.86 kB / 0.7327 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.169, allocations: 29.64 kB / 0.7327 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1691, allocations: 318.8 kB / 0.733 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.1692, allocations: 27.97 kB / 0.733 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001281/0.1694, allocations: 60.27 kB / 0.7331 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1696, allocations: 88.19 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1696, allocations: 0 / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000297/0.1699, allocations: 121.5 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1699, allocations: 10.19 kB / 0.7333 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1699, allocations: 48 / 0.7333 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1699, allocations: 3.984 kB / 0.7333 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1701, allocations: 19.98 kB / 0.7333 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.1701, allocations: 7.938 kB / 0.7333 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.1701, allocations: 12.06 kB / 0.7333 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1702, allocations: 8 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (zerOrdHol.firstTrigger,$PRE.zerOrdHol.firstTrigger,zerOrdHol.sampleTrigger,$whenCondition1,$PRE.zerOrdHol.ySample,zerOrdHol.ySample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001008/0.1703, allocations: 117.8 kB / 0.7335 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.486e-05/0.1703, allocations: 4 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.1706, allocations: 106.5 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1706, allocations: 0 / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1706, allocations: 7.938 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1706, allocations: 0 / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.1711, allocations: 314.2 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1711, allocations: 0 / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.731e-05/0.1711, allocations: 11.98 kB / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1711, allocations: 0 / 0.7339 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1711, allocations: 3.938 kB / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1711, allocations: 0 / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1711, allocations: 0 / 0.7339 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003342/0.1715, allocations: 199.4 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.08e-05/0.1715, allocations: 7.953 kB / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1715, allocations: 0 / 0.7341 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1716, allocations: 16.23 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1717, allocations: 3.984 kB / 0.7341 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1717, allocations: 8 kB / 0.7341 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.1717, allocations: 87.22 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1717, allocations: 0 / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002573/0.172, allocations: 15.94 kB / 0.7342 GB, free: 11.28 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: 4 (zerOrdHol.sampleTrigger,$whenCondition1,zerOrdHol.ySample,zerOrdHol.firstTrigger) * Number of discrete states: 1 (zerOrdHol.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001411/0.1721, allocations: 103.2 kB / 0.7343 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.1724, allocations: 79.81 kB / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1724, allocations: 0 / 0.7344 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.1725, allocations: 31.97 kB / 0.7344 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.1728, allocations: 8 kB / 0.7344 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.1732, allocations: 163.8 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.919e-05/0.1733, allocations: 71.59 kB / 0.7346 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.1733, allocations: 15.42 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of SimCode: time 4.11e-07/0.1733, allocations: 0 / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of Templates: time 0.002697/0.176, allocations: 0.9181 MB / 0.7356 GB, free: 9.836 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.ZeroOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.922433064784855] Failed to read output from testmodel.py, exit status != 0: 0.1852481779642403 0.20118864700000003 0.031970162 Calling exit ...