Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.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.001373/0.001373, allocations: 100.4 kB / 20.44 MB, free: 1.395 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.001584/0.001584, allocations: 216.4 kB / 23.75 MB, free: 4.555 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.9607/0.9607, allocations: 149.9 MB / 463.8 MB, free: 10.34 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.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative") [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.002053/0.002053, allocations: 67.95 kB / 0.6424 GB, free: 9.574 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1657, allocations: 89.17 MB / 0.7294 GB, free: 492 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002347/0.168, allocations: 0.9881 MB / 0.7304 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1694, allocations: 1.03 MB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.6e-05/0.1695, allocations: 4 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.1696, allocations: 27.73 kB / 0.7314 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.404e-05/0.1697, allocations: 11.81 kB / 0.7314 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.17, allocations: 83.78 kB / 0.7315 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.1702, allocations: 168.1 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1703, allocations: 60.44 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1704, allocations: 79.64 kB / 0.7318 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1705, allocations: 67.67 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1706, allocations: 16 kB / 0.7319 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.486e-05/0.1706, allocations: 24 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.451e-05/0.1707, allocations: 39.84 kB / 0.732 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.1707, allocations: 63.66 kB / 0.732 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.171, allocations: 195.1 kB / 0.7322 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.171, allocations: 0 / 0.7322 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.132e-06/0.171, allocations: 0 / 0.7322 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.171, allocations: 0 / 0.7322 GB, free: 13.62 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0008156/0.1718, allocations: 426.4 kB / 0.7326 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.1718, allocations: 12.03 kB / 0.7326 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.1719, allocations: 20.8 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000283/0.1722, allocations: 174.7 kB / 0.7328 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1722, allocations: 12.38 kB / 0.7328 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.1723, allocations: 12.38 kB / 0.7328 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1726, allocations: 188.4 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1726, allocations: 3.984 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.1726, allocations: 4 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1727, allocations: 8 kB / 0.733 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1729, allocations: 108.5 kB / 0.7331 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.1739, allocations: 431.8 kB / 0.7335 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.1743, allocations: 142.7 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1745, allocations: 76.81 kB / 0.7338 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.1745, allocations: 3.984 kB / 0.7338 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/0.1748, allocations: 145 kB / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=19): time 1.963e-06/0.1748, allocations: 0 / 0.7339 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.0005578/0.1753, allocations: 230.8 kB / 0.7341 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.1754, allocations: 55.41 kB / 0.7342 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1755, allocations: 144.4 kB / 0.7343 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.1755, allocations: 33.7 kB / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/0.1756, allocations: 120.4 kB / 0.7345 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.1757, allocations: 59.44 kB / 0.7345 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.458e-05/0.1757, allocations: 49.64 kB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.1759, allocations: 326.8 kB / 0.7349 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001963/0.1761, allocations: 59.97 kB / 0.7349 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.1763, allocations: 97.66 kB / 0.735 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.1766, allocations: 151.3 kB / 0.7352 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.1766, allocations: 0 / 0.7352 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004837/0.1771, allocations: 211 kB / 0.7354 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.1771, allocations: 8.031 kB / 0.7354 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.1771, allocations: 0 / 0.7354 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.1772, allocations: 4 kB / 0.7354 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1774, allocations: 39.91 kB / 0.7354 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.1774, allocations: 0 / 0.7354 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.1775, allocations: 27.88 kB / 0.7354 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.1775, allocations: 7.984 kB / 0.7354 GB, free: 10.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001188/0.1776, allocations: 133.7 kB / 0.7356 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1777, allocations: 15.91 kB / 0.7356 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004241/0.1781, allocations: 188.6 kB / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1781, allocations: 0 / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1781, allocations: 0 / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1781, allocations: 0 / 0.7358 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.1789, allocations: 0.5145 MB / 0.7363 GB, free: 9.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-06/0.1789, allocations: 4 kB / 0.7363 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001729/0.1791, allocations: 35.92 kB / 0.7363 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1791, allocations: 0 / 0.7363 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.1791, allocations: 15.92 kB / 0.7363 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1791, allocations: 4 kB / 0.7363 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1791, allocations: 0 / 0.7363 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00061/0.1797, allocations: 383.5 kB / 0.7367 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.1797, allocations: 15.84 kB / 0.7367 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.1798, allocations: 12.03 kB / 0.7367 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001525/0.1799, allocations: 15.98 kB / 0.7367 GB, free: 8.672 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.18, allocations: 19.91 kB / 0.7368 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.18, allocations: 16 kB / 0.7368 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.896e-05/0.1801, allocations: 109.1 kB / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1801, allocations: 0 / 0.7369 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002759/0.1804, allocations: 43.83 kB / 0.7369 GB, free: 8.488 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.0001212/0.1805, allocations: 103.2 kB / 0.737 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004297/0.1809, allocations: 159.8 kB / 0.7372 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1809, allocations: 0 / 0.7372 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.1811, allocations: 88.28 kB / 0.7373 GB, free: 8.137 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.1814, allocations: 22.33 kB / 0.7373 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.1821, allocations: 404.2 kB / 0.7377 GB, free: 7.672 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001168/0.1822, allocations: 116.2 kB / 0.7378 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.261e-05/0.1823, allocations: 27.38 kB / 0.7378 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of SimCode: time 3.61e-07/0.1823, allocations: 0 / 0.7378 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of Templates: time 0.003768/0.186, allocations: 1.966 MB / 0.7397 GB, free: 5.543 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.982747718691826] Failed to read output from testmodel.py, exit status != 0: 0.19442069111391902 0.208597841 0.034609972 Calling exit ...