Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.002139/0.002139, allocations: 103.7 kB / 20.5 MB, free: 1.312 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.002541/0.002541, allocations: 218.3 kB / 23.8 MB, free: 4.453 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.479/1.479, allocations: 230.6 MB / 257.6 MB, free: 7.773 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.9409/0.9409, allocations: 150 MB / 464 MB, free: 10.16 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.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [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.002357/0.002357, allocations: 66.05 kB / 0.6425 GB, free: 9.352 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1658, allocations: 89.17 MB / 0.7296 GB, free: 256 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001877/0.1677, allocations: 0.6486 MB / 0.7302 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.1691, allocations: 1.085 MB / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.403e-05/0.1692, allocations: 0 / 0.7313 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.833e-05/0.1692, allocations: 3.938 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.1693, allocations: 3.938 kB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.1695, allocations: 43.83 kB / 0.7313 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1697, allocations: 55.78 kB / 0.7314 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1698, allocations: 8 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.1698, allocations: 23.97 kB / 0.7314 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.277e-05/0.1699, allocations: 19.86 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1699, allocations: 4 kB / 0.7314 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.836e-05/0.17, allocations: 19.98 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.17, allocations: 11.98 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.17, allocations: 11.94 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.1702, allocations: 59.78 kB / 0.7315 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1702, allocations: 3.938 kB / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1702, allocations: 0 / 0.7315 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.1702, allocations: 0 / 0.7315 GB, free: 14.24 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005812/0.1708, allocations: 298.2 kB / 0.7318 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1708, allocations: 8.031 kB / 0.7318 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.1709, allocations: 8.891 kB / 0.7318 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.835e-05/0.171, allocations: 114.5 kB / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.171, allocations: 384 / 0.7319 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.171, allocations: 4.375 kB / 0.7319 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.1712, allocations: 62.22 kB / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.1712, allocations: 192 / 0.732 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1712, allocations: 7.938 kB / 0.732 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1712, allocations: 7.938 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.1714, allocations: 39.95 kB / 0.7321 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.1718, allocations: 220.4 kB / 0.7323 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.172, allocations: 58.53 kB / 0.7323 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.817e-05/0.1721, allocations: 28.91 kB / 0.7323 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/0.1721, allocations: 4 kB / 0.7323 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.1723, allocations: 79.38 kB / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.1723, allocations: 0 / 0.7324 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0004069/0.1727, allocations: 121.6 kB / 0.7325 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.1727, allocations: 51.41 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.425e-05/0.1728, allocations: 109.8 kB / 0.7327 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.1729, allocations: 25.7 kB / 0.7327 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.1729, allocations: 88.14 kB / 0.7328 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.747e-05/0.1729, allocations: 11.91 kB / 0.7328 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.173, allocations: 25.78 kB / 0.7328 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1731, allocations: 314.8 kB / 0.7331 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001005/0.1732, allocations: 31.95 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1733, allocations: 51.41 kB / 0.7332 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.1735, allocations: 79.34 kB / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1736, allocations: 0 / 0.7333 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002708/0.1738, allocations: 109.5 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1738, allocations: 6.188 kB / 0.7334 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1738, allocations: 3.938 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1739, allocations: 4 kB / 0.7334 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.174, allocations: 12.08 kB / 0.7334 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.174, allocations: 4 kB / 0.7334 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.174, allocations: 15.94 kB / 0.7334 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.174, allocations: 0 / 0.7334 GB, free: 12.08 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: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.65e-05/0.1741, allocations: 117.8 kB / 0.7336 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/0.1742, allocations: 11.92 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002915/0.1744, allocations: 106 kB / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1744, allocations: 0 / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1744, allocations: 0 / 0.7337 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.272e-05/0.1745, allocations: 11.95 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1745, allocations: 4.562 kB / 0.7337 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.02e-05/0.1745, allocations: 7.984 kB / 0.7337 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1746, allocations: 0 / 0.7337 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003333/0.1749, allocations: 192.8 kB / 0.7339 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003318/0.1752, allocations: 262.8 kB / 0.7341 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001181/0.1754, allocations: 27.97 kB / 0.7342 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.709e-05/0.1754, allocations: 87.28 kB / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of Backend: time 2.6e-07/0.1754, allocations: 0 / 0.7342 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004505/0.1759, allocations: 122.2 kB / 0.7344 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005166/0.1764, allocations: 0.5811 MB / 0.7349 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.003641/0.18, allocations: 1.029 MB / 0.7359 GB, free: 9.461 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.5422405290883034] Failed to read output from testmodel.py, exit status != 0: 0.18838491500355303 0.20262381799999996 0.029330932 Calling exit ...