Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001017/0.001017, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.000991/0.000991, allocations: 169 kB / 24.28 MB, free: 280 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.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.911/1.911, allocations: 377.8 MB / 0.6239 GB, free: 8.535 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.hAirSym.|der.hAirCod.",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.509e-05, allocations: 7.562 kB / 0.8115 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001434/0.001449, allocations: 1.328 MB / 0.8128 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.1297, allocations: 142.5 MB / 0.952 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.1298, allocations: 8 kB / 0.952 GB, free: 1.781 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.395e-05/0.1298, allocations: 3.984 kB / 0.952 GB, free: 1.777 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.1298, allocations: 7.922 kB / 0.952 GB, free: 1.77 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.1302, allocations: 95.44 kB / 0.9521 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.444e-05/0.1303, allocations: 31.86 kB / 0.9521 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.1303, allocations: 3.984 kB / 0.9521 GB, free: 1.641 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.017e-05/0.1304, allocations: 23.97 kB / 0.9521 GB, free: 1.617 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.644e-05/0.1304, allocations: 11.98 kB / 0.9521 GB, free: 1.605 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1305, allocations: 4 kB / 0.9522 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.1306, allocations: 83.64 kB / 0.9522 GB, free: 1.52 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.1307, allocations: 11.97 kB / 0.9522 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.309e-05/0.1307, allocations: 8 kB / 0.9522 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1308, allocations: 71.8 kB / 0.9523 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1308, allocations: 3.938 kB / 0.9523 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1308, allocations: 0 / 0.9523 GB, free: 1.426 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1308, allocations: 0 / 0.9523 GB, free: 1.426 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003624/0.1312, allocations: 380.2 kB / 0.9527 GB, free: 1.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1312, allocations: 8.031 kB / 0.9527 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1314, allocations: 25.17 kB / 0.9527 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.373e-05/0.1315, allocations: 108.6 kB / 0.9528 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.1315, allocations: 8.375 kB / 0.9528 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.1315, allocations: 12.3 kB / 0.9528 GB, free: 0.8359 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1316, allocations: 122.7 kB / 0.953 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1317, allocations: 0 / 0.953 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1317, allocations: 8 kB / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1317, allocations: 0 / 0.953 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.1317, allocations: 11.98 kB / 0.953 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.1318, allocations: 128.6 kB / 0.9531 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.1319, allocations: 59.05 kB / 0.9532 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.258e-05/0.1319, allocations: 15.69 kB / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-06/0.1319, allocations: 0 / 0.9532 GB, free: 432 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.132, allocations: 41.31 kB / 0.9532 GB, free: 380 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 6.71e-07/0.132, allocations: 0 / 0.9532 GB, free: 380 kB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0006458/0.1326, allocations: 297.5 kB / 0.9535 GB, free: 44 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.1327, allocations: 55.41 kB / 0.9535 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.816e-05/0.1328, allocations: 153.9 kB / 0.9537 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1328, allocations: 29.7 kB / 0.9537 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1328, allocations: 130.9 kB / 0.9538 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.1329, allocations: 43.73 kB / 0.9539 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.1329, allocations: 35.36 kB / 0.9539 GB, free: 15.55 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0004666/0.1334, allocations: 496.1 kB / 0.9544 GB, free: 15.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.024e-05/0.1334, allocations: 15.98 kB / 0.9544 GB, free: 15.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.501e-05/0.1334, allocations: 43.34 kB / 0.9545 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.1335, allocations: 47.38 kB / 0.9545 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1335, allocations: 4 kB / 0.9545 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001054/0.1336, allocations: 93.5 kB / 0.9546 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1336, allocations: 16.11 kB / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1336, allocations: 0.7031 kB / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.1337, allocations: 0 / 0.9546 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.1338, allocations: 20 kB / 0.9546 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1338, allocations: 7.938 kB / 0.9546 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.038e-05/0.1338, allocations: 4 kB / 0.9546 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1338, allocations: 4 kB / 0.9546 GB, free: 14.79 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 6.913e-05/0.1339, allocations: 164.6 kB / 0.9548 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.1339, allocations: 7.938 kB / 0.9548 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.1339, allocations: 11.97 kB / 0.9548 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1339, allocations: 8 kB / 0.9548 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1339, allocations: 0 / 0.9548 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1339, allocations: 0 / 0.9548 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.561e-05/0.134, allocations: 120.6 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.134, allocations: 3.938 kB / 0.9549 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.1341, allocations: 23.94 kB / 0.955 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1341, allocations: 7.938 kB / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.1341, allocations: 0 / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1341, allocations: 0 / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1341, allocations: 0 / 0.955 GB, free: 14.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.1343, allocations: 132.4 kB / 0.9551 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.893e-05/0.1343, allocations: 15.89 kB / 0.9551 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.1343, allocations: 3.984 kB / 0.9551 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.895e-05/0.1344, allocations: 8 kB / 0.9551 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.1344, allocations: 7.984 kB / 0.9551 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1344, allocations: 0 / 0.9551 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.1344, allocations: 127.1 kB / 0.9553 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1344, allocations: 0 / 0.9553 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001315/0.1345, allocations: 16 kB / 0.9553 GB, free: 14.07 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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 8.863e-05/0.1346, allocations: 107.3 kB / 0.9554 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.1347, allocations: 55.64 kB / 0.9554 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1347, allocations: 0 / 0.9554 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.1348, allocations: 39.61 kB / 0.9555 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.1349, allocations: 16.42 kB / 0.9555 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.1355, allocations: 273.7 kB / 0.9557 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.021e-05/0.1356, allocations: 67.91 kB / 0.9558 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.1356, allocations: 12.72 kB / 0.9558 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.1356, allocations: 12.5 kB / 0.9558 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of SimCode: time 4.91e-07/0.1356, allocations: 0 / 0.9558 GB, free: 13.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.002599/0.1382, allocations: 0.8555 MB / 0.9567 GB, free: 12.61 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.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.222298642154783]