Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001192/0.001192, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001275/0.001275, allocations: 169 kB / 24.28 MB, free: 276 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 0.9963/0.9963, allocations: 177.1 MB / 204.6 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.582 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.244e-06/2.244e-06, allocations: 0 / 0.8115 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.601e-05/3.825e-05, allocations: 6.25 kB / 0.8115 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002196/0.002234, allocations: 1.374 MB / 0.8128 GB, free: 0.7617 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.1676, allocations: 143.7 MB / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.05e-05/0.1677, allocations: 0 / 0.9531 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 5.158e-05/0.1677, allocations: 7.922 kB / 0.9531 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1678, allocations: 15.91 kB / 0.9531 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009554/0.1688, allocations: 334.2 kB / 0.9535 GB, free: 284 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.1689, allocations: 67.75 kB / 0.9535 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.1689, allocations: 3.984 kB / 0.9535 GB, free: 212 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.169, allocations: 43.89 kB / 0.9536 GB, free: 168 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.98e-05/0.1691, allocations: 27.95 kB / 0.9536 GB, free: 140 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.1691, allocations: 3.938 kB / 0.9536 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006539/0.1697, allocations: 374.6 kB / 0.954 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1698, allocations: 19.97 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.1698, allocations: 19.98 kB / 0.954 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.1701, allocations: 171.5 kB / 0.9542 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1701, allocations: 3.984 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1701, allocations: 3.938 kB / 0.9542 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.1701, allocations: 0 / 0.9542 GB, free: 15.55 MB / 0.9167 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.000416/0.1705, allocations: 420.1 kB / 0.9546 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1706, allocations: 8.031 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000387/0.171, allocations: 60.66 kB / 0.9546 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.212e-05/0.1711, allocations: 116.6 kB / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1711, allocations: 384 / 0.9547 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.1711, allocations: 16.33 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1713, allocations: 202.1 kB / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1713, allocations: 0 / 0.955 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1713, allocations: 8 kB / 0.955 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1713, allocations: 7.922 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.371e-05/0.1714, allocations: 31.97 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.1715, allocations: 132.6 kB / 0.9551 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1717, allocations: 79.09 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.665e-05/0.1717, allocations: 27.77 kB / 0.9552 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.1718, allocations: 27.92 kB / 0.9553 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.1719, allocations: 41.33 kB / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.372e-06/0.1719, allocations: 0 / 0.9553 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.001013/0.1729, allocations: 464.4 kB / 0.9557 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.1729, allocations: 51.41 kB / 0.9558 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.631e-05/0.173, allocations: 157.9 kB / 0.9559 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.721e-05/0.173, allocations: 33.7 kB / 0.956 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/0.1731, allocations: 127.2 kB / 0.9561 GB, free: 13.35 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.1731, allocations: 71.39 kB / 0.9562 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1732, allocations: 43.36 kB / 0.9562 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1733, allocations: 0.4922 MB / 0.9567 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.1733, allocations: 28.09 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.1734, allocations: 65.17 kB / 0.9568 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001265/0.1735, allocations: 110.7 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1735, allocations: 4 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001841/0.1737, allocations: 137.5 kB / 0.957 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1737, allocations: 8 kB / 0.957 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1737, allocations: 0 / 0.957 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1738, allocations: 4 kB / 0.957 GB, free: 12.34 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.1739, allocations: 35.97 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.1739, allocations: 4 kB / 0.9571 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.015e-05/0.1739, allocations: 4 kB / 0.9571 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1739, allocations: 12 kB / 0.9571 GB, free: 12.28 MB / 0.9167 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 8.751e-05/0.174, allocations: 172.5 kB / 0.9572 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.325e-05/0.1741, allocations: 15.95 kB / 0.9573 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.1741, allocations: 12.47 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1741, allocations: 4 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1741, allocations: 3.938 kB / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1741, allocations: 0 / 0.9573 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.1742, allocations: 140.5 kB / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1742, allocations: 0 / 0.9574 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/0.1744, allocations: 39.92 kB / 0.9574 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1744, allocations: 4 kB / 0.9574 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.1744, allocations: 4 kB / 0.9575 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1744, allocations: 4 kB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.1744, allocations: 3.984 kB / 0.9575 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002343/0.1746, allocations: 184.5 kB / 0.9576 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.485e-05/0.1747, allocations: 15.94 kB / 0.9577 GB, free: 11.62 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.1747, allocations: 11.94 kB / 0.9577 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.29e-05/0.1747, allocations: 12 kB / 0.9577 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.1748, allocations: 11.97 kB / 0.9577 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1748, allocations: 8 kB / 0.9577 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.316e-05/0.1748, allocations: 123.2 kB / 0.9578 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1748, allocations: 0 / 0.9578 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002131/0.175, allocations: 28 kB / 0.9578 GB, free: 11.43 MB / 0.9167 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.0001225/0.1752, allocations: 103.2 kB / 0.9579 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001621/0.1753, allocations: 101.6 kB / 0.958 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1753, allocations: 0 / 0.958 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.715e-05/0.1754, allocations: 55.53 kB / 0.9581 GB, free: 11.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1756, allocations: 52.44 kB / 0.9581 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.1764, allocations: 405.1 kB / 0.9585 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.27e-05/0.1764, allocations: 68.02 kB / 0.9586 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.954e-05/0.1765, allocations: 28.62 kB / 0.9586 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.1766, allocations: 16.5 kB / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of SimCode: time 7.61e-07/0.1766, allocations: 0 / 0.9586 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of Templates: time 0.003528/0.1801, allocations: 1.434 MB / 0.96 GB, free: 9.168 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.452523947926238]