Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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.001183/0.001183, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001158/0.001158, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.108/1.108, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.268/2.268, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 0.8793 GB, free: 6.066 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.641e-05/3.879e-05, allocations: 2.312 kB / 0.8793 GB, free: 6.062 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.003225/0.003264, allocations: 1.389 MB / 0.8807 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.1678/0.1711, allocations: 141.2 MB / 1.019 GB, free: 6.922 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.224e-05/0.1712, allocations: 4 kB / 1.019 GB, free: 6.918 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 6.334e-05/0.1712, allocations: 7.922 kB / 1.019 GB, free: 6.91 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.1714, allocations: 7.922 kB / 1.019 GB, free: 6.902 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.1723, allocations: 342.3 kB / 1.019 GB, free: 6.566 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.1724, allocations: 63.77 kB / 1.019 GB, free: 6.504 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.1725, allocations: 3.984 kB / 1.019 GB, free: 6.5 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.1726, allocations: 47.83 kB / 1.019 GB, free: 6.453 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1727, allocations: 23.95 kB / 1.019 GB, free: 6.43 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1727, allocations: 7.984 kB / 1.019 GB, free: 6.422 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.1733, allocations: 382.5 kB / 1.019 GB, free: 6.047 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.1734, allocations: 11.98 kB / 1.019 GB, free: 6.035 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 3.95e-05/0.1734, allocations: 27.86 kB / 1.02 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.1737, allocations: 167.6 kB / 1.02 GB, free: 5.844 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1737, allocations: 0 / 1.02 GB, free: 5.844 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1737, allocations: 3.938 kB / 1.02 GB, free: 5.84 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.1737, allocations: 0 / 1.02 GB, free: 5.84 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004475/0.1742, allocations: 420.2 kB / 1.02 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.1742, allocations: 8.031 kB / 1.02 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003234/0.1745, allocations: 60.59 kB / 1.02 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.683e-05/0.1746, allocations: 112.6 kB / 1.02 GB, free: 5.191 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1746, allocations: 4.375 kB / 1.02 GB, free: 5.188 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1747, allocations: 16.38 kB / 1.02 GB, free: 5.172 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1748, allocations: 194.1 kB / 1.02 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.1749, allocations: 3.938 kB / 1.02 GB, free: 4.941 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1749, allocations: 7.984 kB / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1749, allocations: 0 / 1.02 GB, free: 4.934 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.977e-05/0.1749, allocations: 27.91 kB / 1.021 GB, free: 4.906 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.1751, allocations: 121.2 kB / 1.021 GB, free: 4.762 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1752, allocations: 83.11 kB / 1.021 GB, free: 4.668 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.1752, allocations: 27.61 kB / 1.021 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001293/0.1754, allocations: 27.98 kB / 1.021 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1754, allocations: 33.39 kB / 1.021 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=12): time 1.853e-06/0.1754, allocations: 0 / 1.021 GB, free: 4.566 MB / 0.9792 GB Notification: Performance of matching and sorting (n=19): time 0.0008803/0.1763, allocations: 435.7 kB / 1.021 GB, free: 4.105 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.1763, allocations: 59.41 kB / 1.021 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.659e-05/0.1764, allocations: 157.9 kB / 1.021 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.1764, allocations: 29.7 kB / 1.021 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.1765, allocations: 127.2 kB / 1.022 GB, free: 3.699 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.709e-05/0.1765, allocations: 75.36 kB / 1.022 GB, free: 3.625 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.532e-05/0.1766, allocations: 47.34 kB / 1.022 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1767, allocations: 496.1 kB / 1.022 GB, free: 3.074 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.605e-05/0.1768, allocations: 15.98 kB / 1.022 GB, free: 3.059 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.246e-05/0.1768, allocations: 63.31 kB / 1.022 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.62e-05/0.1769, allocations: 102.6 kB / 1.022 GB, free: 2.863 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1769, allocations: 8.062 kB / 1.022 GB, free: 2.855 MB / 0.9792 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001487/0.1771, allocations: 125.6 kB / 1.022 GB, free: 2.727 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.1771, allocations: 4 kB / 1.022 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.1771, allocations: 80 / 1.022 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1771, allocations: 4 kB / 1.022 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.1772, allocations: 39.98 kB / 1.022 GB, free: 2.68 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1772, allocations: 3.984 kB / 1.022 GB, free: 2.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.1772, allocations: 7.938 kB / 1.023 GB, free: 2.668 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.1773, allocations: 11.94 kB / 1.023 GB, free: 2.656 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.559e-05/0.1774, allocations: 176.4 kB / 1.023 GB, free: 2.473 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1774, allocations: 19.95 kB / 1.023 GB, free: 2.453 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.903e-05/0.1774, allocations: 16.47 kB / 1.023 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1774, allocations: 0 / 1.023 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1774, allocations: 4 kB / 1.023 GB, free: 2.43 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.1774, allocations: 3.984 kB / 1.023 GB, free: 2.426 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.1775, allocations: 117.2 kB / 1.023 GB, free: 2.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1775, allocations: 0 / 1.023 GB, free: 2.285 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.1777, allocations: 36.05 kB / 1.023 GB, free: 2.25 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1777, allocations: 11.94 kB / 1.023 GB, free: 2.238 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.268e-06/0.1777, allocations: 4 kB / 1.023 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1777, allocations: 0 / 1.023 GB, free: 2.234 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1777, allocations: 4 kB / 1.023 GB, free: 2.23 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.1779, allocations: 183.7 kB / 1.023 GB, free: 2.031 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.178, allocations: 11.89 kB / 1.023 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.178, allocations: 11.98 kB / 1.023 GB, free: 2.008 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.618e-05/0.178, allocations: 4 kB / 1.023 GB, free: 2.004 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.1781, allocations: 7.984 kB / 1.023 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.1781, allocations: 7.984 kB / 1.023 GB, free: 1.988 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.1781, allocations: 123.2 kB / 1.023 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.1781, allocations: 0 / 1.023 GB, free: 1.867 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001538/0.1783, allocations: 32.09 kB / 1.023 GB, free: 1.836 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0001472/0.1784, allocations: 103.2 kB / 1.023 GB, free: 1.727 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0001285/0.1785, allocations: 87.52 kB / 1.023 GB, free: 1.637 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1785, allocations: 3.938 kB / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 4.36e-05/0.1786, allocations: 47.59 kB / 1.023 GB, free: 1.582 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1788, allocations: 31.97 kB / 1.024 GB, free: 1.551 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.1796, allocations: 410.5 kB / 1.024 GB, free: 1.121 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.1796, allocations: 72.06 kB / 1.024 GB, free: 1.031 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 7.021e-05/0.1797, allocations: 12.66 kB / 1.024 GB, free: 1.02 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1798, allocations: 114.2 kB / 1.024 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of SimCode: time 8.41e-07/0.1798, allocations: 0 / 1.024 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of Templates: time 0.003765/0.1836, allocations: 1.641 MB / 1.026 GB, free: 15.3 MB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.083462813869119]