Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001241/0.001241, 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.0009945/0.0009945, 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 0.9536/0.9536, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.898/1.898, allocations: 359 MB / 0.6055 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0.9844 kB / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.4e-05/2.534e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001746/0.001771, allocations: 1.319 MB / 0.7883 GB, free: 10.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.133/0.1348, allocations: 142.5 MB / 0.9275 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.1348, allocations: 0 / 0.9275 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.125e-05/0.1349, allocations: 0 / 0.9275 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.148e-05/0.1349, allocations: 7.922 kB / 0.9275 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.1353, allocations: 103.4 kB / 0.9276 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.414e-05/0.1354, allocations: 31.86 kB / 0.9277 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.1354, allocations: 0 / 0.9277 GB, free: 11.25 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.376e-05/0.1355, allocations: 27.97 kB / 0.9277 GB, free: 11.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.1355, allocations: 7.984 kB / 0.9277 GB, free: 11.22 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.1355, allocations: 4 kB / 0.9277 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001995/0.1357, allocations: 83.62 kB / 0.9278 GB, free: 11.13 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.1357, allocations: 7.984 kB / 0.9278 GB, free: 11.12 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1358, allocations: 12 kB / 0.9278 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.1359, allocations: 71.73 kB / 0.9279 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1359, allocations: 0 / 0.9279 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1359, allocations: 0 / 0.9279 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.1359, allocations: 0 / 0.9279 GB, free: 11.04 MB / 0.8386 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.0003433/0.1363, allocations: 384.2 kB / 0.9282 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.1363, allocations: 12.03 kB / 0.9283 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.1365, allocations: 24.75 kB / 0.9283 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.1365, allocations: 112.6 kB / 0.9284 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1365, allocations: 384 / 0.9284 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.1366, allocations: 12.31 kB / 0.9284 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1367, allocations: 130.7 kB / 0.9285 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.1367, allocations: 0 / 0.9285 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.1367, allocations: 0 / 0.9285 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1367, allocations: 4 kB / 0.9285 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.499e-05/0.1367, allocations: 15.97 kB / 0.9285 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001226/0.1369, allocations: 124.6 kB / 0.9287 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.1369, allocations: 50.98 kB / 0.9287 GB, free: 10.06 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.589e-05/0.137, allocations: 19.91 kB / 0.9287 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.137, allocations: 0 / 0.9287 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.137, allocations: 49.31 kB / 0.9288 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 9.02e-07/0.137, allocations: 0 / 0.9288 GB, free: 9.977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0005561/0.1376, allocations: 289.5 kB / 0.9291 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.1376, allocations: 55.41 kB / 0.9291 GB, free: 9.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.1377, allocations: 157.9 kB / 0.9293 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.1377, allocations: 29.7 kB / 0.9293 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.1377, allocations: 130.8 kB / 0.9294 GB, free: 9.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.1377, allocations: 39.66 kB / 0.9295 GB, free: 9.211 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.513e-05/0.1378, allocations: 35.36 kB / 0.9295 GB, free: 9.168 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1379, allocations: 0.4884 MB / 0.93 GB, free: 8.668 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.1379, allocations: 15.98 kB / 0.93 GB, free: 8.652 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.519e-05/0.1379, allocations: 31.36 kB / 0.93 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.163e-05/0.138, allocations: 55.36 kB / 0.9301 GB, free: 8.551 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.138, allocations: 4.125 kB / 0.9301 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.88e-05/0.1381, allocations: 98.05 kB / 0.9302 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1381, allocations: 4 kB / 0.9302 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1381, allocations: 0 / 0.9302 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1381, allocations: 0 / 0.9302 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.244e-05/0.1382, allocations: 27.98 kB / 0.9302 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1382, allocations: 8.078 kB / 0.9302 GB, free: 8.406 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.1382, allocations: 4 kB / 0.9302 GB, free: 8.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1382, allocations: 0 / 0.9302 GB, free: 8.402 MB / 0.8386 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 0.0002055/0.1384, allocations: 160.6 kB / 0.9304 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.1385, allocations: 15.94 kB / 0.9304 GB, free: 8.219 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.404e-05/0.1385, allocations: 11.91 kB / 0.9304 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1385, allocations: 4 kB / 0.9304 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1385, allocations: 0 / 0.9304 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1385, allocations: 0 / 0.9304 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.289e-05/0.1386, allocations: 128.6 kB / 0.9305 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1386, allocations: 0 / 0.9305 GB, free: 8.043 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.804e-05/0.1386, allocations: 31.86 kB / 0.9305 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1386, allocations: 4 kB / 0.9305 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1387, allocations: 0 / 0.9305 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.12e-07/0.1387, allocations: 0 / 0.9305 GB, free: 8.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1387, allocations: 4 kB / 0.9305 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1388, allocations: 136.4 kB / 0.9307 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/0.1388, allocations: 19.81 kB / 0.9307 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1389, allocations: 0 / 0.9307 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.594e-05/0.1389, allocations: 4 kB / 0.9307 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.894e-05/0.1389, allocations: 7.984 kB / 0.9307 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.51e-06/0.1389, allocations: 4.047 kB / 0.9307 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.1389, allocations: 123.2 kB / 0.9308 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.1389, allocations: 0 / 0.9308 GB, free: 7.691 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001314/0.1391, allocations: 12 kB / 0.9308 GB, free: 7.68 MB / 0.8386 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.093e-05/0.1392, allocations: 115.3 kB / 0.9309 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.719e-05/0.1393, allocations: 51.66 kB / 0.931 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.1393, allocations: 0 / 0.931 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.1393, allocations: 35.61 kB / 0.931 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.1394, allocations: 18.91 kB / 0.931 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005621/0.14, allocations: 280.2 kB / 0.9313 GB, free: 7.148 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.894e-05/0.14, allocations: 59.36 kB / 0.9314 GB, free: 7.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.075e-05/0.1401, allocations: 16.66 kB / 0.9314 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.405e-05/0.1401, allocations: 12.5 kB / 0.9314 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of SimCode: time 6.01e-07/0.1401, allocations: 0 / 0.9314 GB, free: 7.043 MB / 0.8386 GB Notification: Performance of Templates: time 0.002636/0.1427, allocations: 0.8443 MB / 0.9322 GB, free: 6.23 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.16687761596404]