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.0009944/0.0009944, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009759/0.0009759, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.062/1.062, allocations: 177.1 MB / 204.2 MB, free: 5.621 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.59 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 1.553e-06/1.553e-06, allocations: 0.7656 kB / 0.8115 GB, free: 1.797 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.427e-05/2.582e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002009/0.002035, allocations: 1.373 MB / 0.8128 GB, free: 436 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1388/0.1409, allocations: 144 MB / 0.9534 GB, free: 0 / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.1409, allocations: 0 / 0.9534 GB, free: 0 / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.054e-05/0.141, allocations: 112 / 0.9534 GB, free: 16 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.1411, allocations: 23.67 kB / 0.9534 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009204/0.142, allocations: 326.4 kB / 0.9537 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1421, allocations: 75.67 kB / 0.9538 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.727e-05/0.1422, allocations: 0 / 0.9538 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.555e-05/0.1422, allocations: 39.95 kB / 0.9539 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.1423, allocations: 31.89 kB / 0.9539 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.33e-05/0.1423, allocations: 0 / 0.9539 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.1429, allocations: 386.5 kB / 0.9543 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.165e-05/0.143, allocations: 19.91 kB / 0.9543 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 4.49e-05/0.1431, allocations: 19.97 kB / 0.9543 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.1433, allocations: 171.5 kB / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1433, allocations: 0 / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1433, allocations: 0 / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1434, allocations: 0 / 0.9545 GB, free: 14.93 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.0004105/0.1438, allocations: 412.3 kB / 0.9548 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.1438, allocations: 8.031 kB / 0.9549 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000355/0.1442, allocations: 72.53 kB / 0.9549 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.954e-05/0.1442, allocations: 108.6 kB / 0.955 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1443, allocations: 12.31 kB / 0.955 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.835e-05/0.1443, allocations: 4.375 kB / 0.955 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.1445, allocations: 202.1 kB / 0.9552 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1445, allocations: 0 / 0.9552 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1445, allocations: 8 kB / 0.9552 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1445, allocations: 0 / 0.9552 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.977e-05/0.1446, allocations: 39.89 kB / 0.9553 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.1447, allocations: 132.5 kB / 0.9554 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.1449, allocations: 83.19 kB / 0.9555 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.1449, allocations: 27.67 kB / 0.9555 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.145, allocations: 19.98 kB / 0.9555 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.1451, allocations: 53.58 kB / 0.9556 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.1451, allocations: 0 / 0.9556 GB, free: 13.61 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0009304/0.146, allocations: 452.3 kB / 0.956 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.146, allocations: 59.34 kB / 0.9561 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.908e-05/0.1461, allocations: 157.9 kB / 0.9562 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1461, allocations: 33.7 kB / 0.9563 GB, free: 12.85 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.1462, allocations: 127.2 kB / 0.9564 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.1462, allocations: 71.39 kB / 0.9564 GB, free: 12.65 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1463, allocations: 43.36 kB / 0.9565 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1464, allocations: 0.4963 MB / 0.957 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.839e-05/0.1464, allocations: 27.98 kB / 0.957 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.915e-05/0.1465, allocations: 69.16 kB / 0.9571 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.1466, allocations: 102.7 kB / 0.9572 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1466, allocations: 3.984 kB / 0.9572 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000292/0.1469, allocations: 141.5 kB / 0.9573 GB, free: 11.72 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1469, allocations: 4 kB / 0.9573 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1469, allocations: 0 / 0.9573 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1469, allocations: 4 kB / 0.9573 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.147, allocations: 35.92 kB / 0.9573 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.147, allocations: 4 kB / 0.9573 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.1471, allocations: 8 kB / 0.9574 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.1471, allocations: 8 kB / 0.9574 GB, free: 11.66 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 7.452e-05/0.1471, allocations: 176.4 kB / 0.9575 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.781e-05/0.1472, allocations: 15.95 kB / 0.9575 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.335e-05/0.1472, allocations: 20.45 kB / 0.9576 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.1472, allocations: 4 kB / 0.9576 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1472, allocations: 0 / 0.9576 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.1472, allocations: 3.984 kB / 0.9576 GB, free: 11.43 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.398e-05/0.1473, allocations: 132.6 kB / 0.9577 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1473, allocations: 3.984 kB / 0.9577 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.1474, allocations: 43.92 kB / 0.9577 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1474, allocations: 0 / 0.9577 GB, free: 11.22 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1474, allocations: 4 kB / 0.9577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1474, allocations: 4 kB / 0.9577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1474, allocations: 0 / 0.9577 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.1476, allocations: 180.3 kB / 0.9579 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.325e-05/0.1477, allocations: 19.94 kB / 0.9579 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.1477, allocations: 0 / 0.9579 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.387e-05/0.1478, allocations: 15.98 kB / 0.958 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1478, allocations: 7.984 kB / 0.958 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.1478, allocations: 11.94 kB / 0.958 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.165e-05/0.1478, allocations: 127.1 kB / 0.9581 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1478, allocations: 0 / 0.9581 GB, free: 10.83 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001567/0.148, allocations: 31.98 kB / 0.9581 GB, free: 10.8 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.0001157/0.1481, allocations: 107.4 kB / 0.9582 GB, free: 10.69 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001813/0.1483, allocations: 103.5 kB / 0.9583 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1483, allocations: 0 / 0.9583 GB, free: 10.58 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.586e-05/0.1483, allocations: 53.92 kB / 0.9584 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.1485, allocations: 44.31 kB / 0.9584 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007401/0.1493, allocations: 409 kB / 0.9588 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.97e-05/0.1493, allocations: 68.08 kB / 0.9589 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.301e-05/0.1494, allocations: 24.62 kB / 0.9589 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.034e-05/0.1494, allocations: 16.5 kB / 0.9589 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/0.1494, allocations: 0 / 0.9589 GB, free: 9.934 MB / 0.9167 GB Notification: Performance of Templates: time 0.003287/0.1527, allocations: 1.425 MB / 0.9603 GB, free: 8.547 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.608229561243206]