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.0008749/0.0008749, allocations: 87.58 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.0009406/0.0009406, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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 0.9346/0.9346, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.875/1.875, allocations: 377.9 MB / 0.6236 GB, free: 8.566 MB / 0.5886 GB " [Timeout remaining time 178] 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.343e-06/1.343e-06, allocations: 0 / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.069e-05/3.203e-05, allocations: 7.688 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002019/0.002051, allocations: 1.382 MB / 0.8128 GB, free: 400 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1317/0.1338, allocations: 143.9 MB / 0.9534 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.1339, allocations: 0 / 0.9534 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 5.695e-05/0.1339, allocations: 3.984 kB / 0.9534 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.134, allocations: 15.86 kB / 0.9534 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.135, allocations: 342.2 kB / 0.9538 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.1351, allocations: 63.77 kB / 0.9538 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.1352, allocations: 4 kB / 0.9538 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.527e-05/0.1352, allocations: 43.88 kB / 0.9539 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.1353, allocations: 27.95 kB / 0.9539 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.1353, allocations: 4 kB / 0.9539 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.136, allocations: 382.5 kB / 0.9543 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 6.067e-05/0.136, allocations: 15.97 kB / 0.9543 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.1361, allocations: 19.98 kB / 0.9543 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002902/0.1363, allocations: 163.5 kB / 0.9545 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1363, allocations: 4 kB / 0.9545 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.52e-07/0.1363, allocations: 0 / 0.9545 GB, free: 14.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1364, allocations: 0 / 0.9545 GB, free: 14.9 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.0003991/0.1368, allocations: 424.1 kB / 0.9549 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1368, allocations: 8.031 kB / 0.9549 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.1371, allocations: 68.59 kB / 0.9549 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.846e-05/0.1372, allocations: 108.6 kB / 0.955 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1372, allocations: 8.375 kB / 0.955 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.1373, allocations: 16.33 kB / 0.9551 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1374, allocations: 198.1 kB / 0.9552 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.1374, allocations: 0 / 0.9552 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1374, allocations: 0 / 0.9552 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1375, allocations: 4 kB / 0.9553 GB, free: 13.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.1375, allocations: 35.89 kB / 0.9553 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.1376, allocations: 136.6 kB / 0.9554 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1378, allocations: 83.19 kB / 0.9555 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.1378, allocations: 27.66 kB / 0.9555 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.138, allocations: 27.98 kB / 0.9555 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.138, allocations: 41.27 kB / 0.9556 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 1.382e-06/0.138, allocations: 0 / 0.9556 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of matching and sorting (n=19): time 0.0008593/0.1388, allocations: 456.5 kB / 0.956 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1389, allocations: 59.34 kB / 0.9561 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.934e-05/0.1389, allocations: 157.9 kB / 0.9562 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1389, allocations: 29.7 kB / 0.9563 GB, free: 12.83 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 2.815e-05/0.139, allocations: 127.2 kB / 0.9564 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.139, allocations: 71.38 kB / 0.9564 GB, free: 12.63 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1391, allocations: 51.36 kB / 0.9565 GB, free: 12.57 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1392, allocations: 0.4963 MB / 0.957 GB, free: 12.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.356e-05/0.1392, allocations: 15.98 kB / 0.957 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.824e-05/0.1393, allocations: 70.72 kB / 0.9571 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.1394, allocations: 106.7 kB / 0.9572 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1394, allocations: 0 / 0.9572 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001465/0.1395, allocations: 133.6 kB / 0.9573 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.1395, allocations: 6.656 kB / 0.9573 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1395, allocations: 4 kB / 0.9573 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.1395, allocations: 0 / 0.9573 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1397, allocations: 43.92 kB / 0.9573 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1397, allocations: 4 kB / 0.9573 GB, free: 11.65 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.1397, allocations: 7.984 kB / 0.9574 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1397, allocations: 8 kB / 0.9574 GB, free: 11.63 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.064e-05/0.1398, allocations: 172.5 kB / 0.9575 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.685e-05/0.1398, allocations: 11.95 kB / 0.9575 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.1398, allocations: 24.41 kB / 0.9576 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.1398, allocations: 0 / 0.9576 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1398, allocations: 0 / 0.9576 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1398, allocations: 0 / 0.9576 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.903e-05/0.1399, allocations: 144.5 kB / 0.9577 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1399, allocations: 0 / 0.9577 GB, free: 11.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.14, allocations: 39.92 kB / 0.9577 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.14, allocations: 4 kB / 0.9577 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1401, allocations: 4 kB / 0.9577 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.1401, allocations: 0 / 0.9577 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1401, allocations: 0 / 0.9577 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.1403, allocations: 184.3 kB / 0.9579 GB, free: 10.99 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.1403, allocations: 15.94 kB / 0.9579 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.1403, allocations: 4.188 kB / 0.9579 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.1404, allocations: 12 kB / 0.958 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/0.1404, allocations: 15.97 kB / 0.958 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1404, allocations: 8 kB / 0.958 GB, free: 10.94 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.1404, allocations: 127.1 kB / 0.9581 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1404, allocations: 0 / 0.9581 GB, free: 10.81 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001504/0.1406, allocations: 32 kB / 0.9581 GB, free: 10.78 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.0001141/0.1407, allocations: 107.2 kB / 0.9582 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.1408, allocations: 91.53 kB / 0.9583 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1408, allocations: 0 / 0.9583 GB, free: 10.57 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.511e-05/0.1409, allocations: 58.09 kB / 0.9584 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.1411, allocations: 48.34 kB / 0.9584 GB, free: 10.47 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00072/0.1418, allocations: 413.4 kB / 0.9588 GB, free: 10.04 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.884e-05/0.1419, allocations: 72.02 kB / 0.9589 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 7.345e-05/0.1419, allocations: 24.62 kB / 0.9589 GB, free: 9.926 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.142, allocations: 16.5 kB / 0.9589 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.142, allocations: 0 / 0.9589 GB, free: 9.91 MB / 0.9167 GB Notification: Performance of Templates: time 0.003277/0.1452, allocations: 1.532 MB / 0.9604 GB, free: 8.418 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.276199257932603]