Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirProperties.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.001152/0.001152, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009849/0.0009849, allocations: 169 kB / 23.82 MB, free: 0.7461 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.9222/0.9222, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.803/1.803, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") translateModel(Buildings.Media.Examples.AirProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|hLiq|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.19e-05, allocations: 8.922 kB / 0.8116 GB, free: 1.699 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1329/0.1329, allocations: 145 MB / 0.9531 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003157/0.1361, allocations: 3.797 MB / 0.9569 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.1362, allocations: 4 kB / 0.9569 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.1366, allocations: 63.66 kB / 0.9569 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002801/0.1369, allocations: 147 kB / 0.9571 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.139, allocations: 1.155 MB / 0.9582 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004016/0.1394, allocations: 343.5 kB / 0.9585 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.91e-05/0.1395, allocations: 9.812 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004033/0.1399, allocations: 251.2 kB / 0.9588 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.14, allocations: 123.6 kB / 0.9589 GB, free: 10.36 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.565e-05/0.14, allocations: 15.94 kB / 0.9589 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001468/0.1415, allocations: 1.09 MB / 0.96 GB, free: 9.254 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.1416, allocations: 71.8 kB / 0.96 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.662e-05/0.1417, allocations: 87.81 kB / 0.9601 GB, free: 9.098 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009622/0.1427, allocations: 0.6426 MB / 0.9607 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1427, allocations: 0 / 0.9607 GB, free: 8.453 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1427, allocations: 4 kB / 0.9607 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.1427, allocations: 0 / 0.9607 GB, free: 8.449 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009833/0.1437, allocations: 0.6242 MB / 0.9614 GB, free: 7.789 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1437, allocations: 8.031 kB / 0.9614 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007614/0.1445, allocations: 228.1 kB / 0.9616 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.1447, allocations: 168.3 kB / 0.9617 GB, free: 7.367 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.749e-05/0.1447, allocations: 16.75 kB / 0.9618 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.1447, allocations: 20.38 kB / 0.9618 GB, free: 7.332 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.1452, allocations: 0.4902 MB / 0.9623 GB, free: 6.758 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1452, allocations: 4 kB / 0.9623 GB, free: 6.754 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.5e-05/0.1452, allocations: 15.98 kB / 0.9623 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.332e-05/0.1452, allocations: 19.92 kB / 0.9623 GB, free: 6.719 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.1455, allocations: 188.8 kB / 0.9625 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001146/0.1467, allocations: 1.101 MB / 0.9635 GB, free: 5.379 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.1469, allocations: 119 kB / 0.9637 GB, free: 5.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.552e-05/0.147, allocations: 47.67 kB / 0.9637 GB, free: 5.199 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002364/0.1472, allocations: 87.92 kB / 0.9638 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.1473, allocations: 37.39 kB / 0.9638 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.1473, allocations: 0 / 0.9638 GB, free: 5.066 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0003991/0.1477, allocations: 179.5 kB / 0.964 GB, free: 4.887 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1477, allocations: 55.41 kB / 0.964 GB, free: 4.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.1478, allocations: 223.8 kB / 0.9643 GB, free: 4.586 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1478, allocations: 29.7 kB / 0.9643 GB, free: 4.551 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.327e-05/0.1479, allocations: 198.9 kB / 0.9645 GB, free: 4.352 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.148, allocations: 87.25 kB / 0.9646 GB, free: 4.266 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.44e-05/0.148, allocations: 59.34 kB / 0.9646 GB, free: 4.199 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1481, allocations: 0.504 MB / 0.9651 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.288e-05/0.1482, allocations: 32.27 kB / 0.9651 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.1483, allocations: 157.7 kB / 0.9653 GB, free: 3.438 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.1485, allocations: 215.7 kB / 0.9655 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1485, allocations: 0 / 0.9655 GB, free: 3.172 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002986/0.1488, allocations: 231.9 kB / 0.9657 GB, free: 2.941 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.1488, allocations: 12 kB / 0.9657 GB, free: 2.93 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1488, allocations: 4 kB / 0.9657 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1488, allocations: 4 kB / 0.9657 GB, free: 2.922 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.149, allocations: 55.91 kB / 0.9658 GB, free: 2.867 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.149, allocations: 7.938 kB / 0.9658 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.1491, allocations: 27.78 kB / 0.9658 GB, free: 2.832 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.1491, allocations: 12 kB / 0.9658 GB, free: 2.82 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.924e-05/0.1492, allocations: 168.5 kB / 0.966 GB, free: 2.645 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.1493, allocations: 39.83 kB / 0.966 GB, free: 2.605 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.1495, allocations: 190.7 kB / 0.9662 GB, free: 2.414 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.1495, allocations: 11.98 kB / 0.9662 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1495, allocations: 0 / 0.9662 GB, free: 2.402 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.1495, allocations: 3.938 kB / 0.9662 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003866/0.1499, allocations: 480.6 kB / 0.9667 GB, free: 1.879 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1499, allocations: 4 kB / 0.9667 GB, free: 1.875 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.439e-05/0.15, allocations: 23.98 kB / 0.9667 GB, free: 1.852 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.15, allocations: 4 kB / 0.9667 GB, free: 1.848 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.15, allocations: 7.938 kB / 0.9667 GB, free: 1.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.15, allocations: 4 kB / 0.9667 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.15, allocations: 11.98 kB / 0.9667 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002891/0.1503, allocations: 340.9 kB / 0.9671 GB, free: 1.465 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.537e-05/0.1504, allocations: 39.8 kB / 0.9671 GB, free: 1.426 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.1504, allocations: 11.94 kB / 0.9671 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.732e-05/0.1505, allocations: 4 kB / 0.9671 GB, free: 1.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.1505, allocations: 23.88 kB / 0.9671 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.1505, allocations: 8 kB / 0.9672 GB, free: 1.379 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.243e-05/0.1506, allocations: 160.8 kB / 0.9673 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.1506, allocations: 0 / 0.9673 GB, free: 1.223 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003552/0.1509, allocations: 131.7 kB / 0.9674 GB, free: 1.094 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.000329/0.1513, allocations: 226.9 kB / 0.9677 GB, free: 0.8594 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.1515, allocations: 145.9 kB / 0.9678 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1515, allocations: 0 / 0.9678 GB, free: 0.7148 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.394e-05/0.1516, allocations: 76.33 kB / 0.9679 GB, free: 0.6367 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1519, allocations: 84.47 kB / 0.9679 GB, free: 0.5547 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008434/0.1528, allocations: 421.5 kB / 0.9683 GB, free: 112 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.1528, allocations: 88.81 kB / 0.9684 GB, free: 4 kB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001525/0.153, allocations: 45.61 kB / 0.9685 GB, free: 15.96 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.153, allocations: 24.48 kB / 0.9685 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/0.153, allocations: 0 / 0.9685 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of Templates: time 0.007725/0.1608, allocations: 5.736 MB / 0.9741 GB, free: 10.33 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirProperties.sim & ./Buildings_12_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirProperties.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.475511106196791]