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.001026/0.001026, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.001036/0.001036, allocations: 170.1 kB / 24.86 MB, free: 9.289 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.9956/0.9956, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.895/1.895, allocations: 377.9 MB / 0.6247 GB, free: 8.391 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.653e-06/1.653e-06, allocations: 0 / 0.8127 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.546e-05, allocations: 6.25 kB / 0.8127 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001956/0.001982, allocations: 1.33 MB / 0.814 GB, free: 132 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.1291/0.1311, allocations: 140.1 MB / 0.9509 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.649e-05/0.1311, allocations: 0 / 0.9509 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.1312, allocations: 3.984 kB / 0.9509 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.904e-05/0.1312, allocations: 3.938 kB / 0.9509 GB, free: 3.547 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1316, allocations: 99.44 kB / 0.951 GB, free: 3.449 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.637e-05/0.1317, allocations: 31.86 kB / 0.951 GB, free: 3.418 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.1318, allocations: 11.97 kB / 0.951 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 6.271e-05/0.1318, allocations: 15.98 kB / 0.951 GB, free: 3.391 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.1319, allocations: 19.97 kB / 0.951 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.1319, allocations: 0 / 0.951 GB, free: 3.371 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002235/0.1321, allocations: 83.64 kB / 0.9511 GB, free: 3.289 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.412e-05/0.1321, allocations: 3.984 kB / 0.9511 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.983e-05/0.1321, allocations: 15.98 kB / 0.9511 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.1323, allocations: 75.75 kB / 0.9512 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1323, allocations: 0 / 0.9512 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1323, allocations: 0 / 0.9512 GB, free: 3.195 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1323, allocations: 0 / 0.9512 GB, free: 3.195 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.000348/0.1326, allocations: 380.1 kB / 0.9516 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1327, allocations: 8.031 kB / 0.9516 GB, free: 2.781 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1328, allocations: 21.17 kB / 0.9516 GB, free: 2.762 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.775e-05/0.1329, allocations: 112.6 kB / 0.9517 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1329, allocations: 384 / 0.9517 GB, free: 2.625 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.133, allocations: 20.36 kB / 0.9517 GB, free: 2.605 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.1331, allocations: 122.7 kB / 0.9518 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1331, allocations: 0 / 0.9518 GB, free: 2.461 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1331, allocations: 4 kB / 0.9519 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.1331, allocations: 0 / 0.9519 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.871e-05/0.1331, allocations: 11.98 kB / 0.9519 GB, free: 2.445 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001333/0.1333, allocations: 109.2 kB / 0.952 GB, free: 2.312 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 7.879e-05/0.1333, allocations: 51.11 kB / 0.952 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.852e-05/0.1334, allocations: 15.62 kB / 0.952 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.137e-06/0.1334, allocations: 4 kB / 0.952 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1334, allocations: 37.39 kB / 0.9521 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.1334, allocations: 4 kB / 0.9521 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=11): time 0.0005756/0.134, allocations: 293.8 kB / 0.9524 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.134, allocations: 51.41 kB / 0.9524 GB, free: 1.789 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.1341, allocations: 153.9 kB / 0.9526 GB, free: 1.621 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1341, allocations: 29.7 kB / 0.9526 GB, free: 1.586 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 4.063e-05/0.1341, allocations: 126.9 kB / 0.9527 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.1342, allocations: 43.62 kB / 0.9527 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.1342, allocations: 31.36 kB / 0.9528 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1344, allocations: 0.5002 MB / 0.9533 GB, free: 0.8633 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.125e-05/0.1344, allocations: 15.98 kB / 0.9533 GB, free: 0.8477 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.428e-05/0.1344, allocations: 29.11 kB / 0.9533 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.1345, allocations: 47.36 kB / 0.9533 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1345, allocations: 4 kB / 0.9534 GB, free: 0.7539 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001059/0.1346, allocations: 89.5 kB / 0.9534 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1346, allocations: 4 kB / 0.9534 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1346, allocations: 0 / 0.9534 GB, free: 0.6562 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1346, allocations: 3.984 kB / 0.9534 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.693e-05/0.1347, allocations: 20 kB / 0.9535 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1347, allocations: 0 / 0.9535 GB, free: 0.6328 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.152e-05/0.1347, allocations: 11.94 kB / 0.9535 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.1347, allocations: 4 kB / 0.9535 GB, free: 0.6172 MB / 0.9011 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 8.014e-05/0.1348, allocations: 160.6 kB / 0.9536 GB, free: 460 kB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.1348, allocations: 11.92 kB / 0.9536 GB, free: 448 kB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.1349, allocations: 11.97 kB / 0.9537 GB, free: 436 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1349, allocations: 4 kB / 0.9537 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1349, allocations: 0 / 0.9537 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1349, allocations: 3.984 kB / 0.9537 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.135, allocations: 109.2 kB / 0.9538 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.135, allocations: 0 / 0.9538 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.338e-05/0.1351, allocations: 23.98 kB / 0.9538 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1351, allocations: 0 / 0.9538 GB, free: 268 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1351, allocations: 15.94 kB / 0.9538 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1351, allocations: 3.938 kB / 0.9538 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1351, allocations: 0 / 0.9538 GB, free: 248 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1352, allocations: 120.4 kB / 0.9539 GB, free: 104 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.1353, allocations: 7.953 kB / 0.9539 GB, free: 96 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.108e-05/0.1353, allocations: 3.938 kB / 0.9539 GB, free: 92 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.754e-05/0.1353, allocations: 8 kB / 0.9539 GB, free: 84 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.1353, allocations: 11.92 kB / 0.954 GB, free: 72 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.1353, allocations: 4 kB / 0.954 GB, free: 68 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 4.634e-05/0.1354, allocations: 123.2 kB / 0.9541 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1354, allocations: 0 / 0.9541 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001398/0.1355, allocations: 20 kB / 0.9541 GB, free: 15.93 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 0.0001031/0.1356, allocations: 103.2 kB / 0.9542 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.197e-05/0.1357, allocations: 48.11 kB / 0.9542 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1357, allocations: 4 kB / 0.9542 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.1357, allocations: 27.61 kB / 0.9543 GB, free: 15.73 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.1359, allocations: 32.81 kB / 0.9543 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005524/0.1365, allocations: 272.6 kB / 0.9546 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.334e-05/0.1365, allocations: 63.34 kB / 0.9546 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1366, allocations: 8.734 kB / 0.9546 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.063e-05/0.1366, allocations: 90.19 kB / 0.9547 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of SimCode: time 6.32e-07/0.1366, allocations: 0 / 0.9547 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of Templates: time 0.002719/0.1394, allocations: 0.9565 MB / 0.9556 GB, free: 14.3 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.319336226209998]