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.000987/0.000987, allocations: 87.58 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.0009998/0.0009998, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.064/1.064, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.949/1.949, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] 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.613e-06/1.613e-06, allocations: 0 / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.608e-05, allocations: 4.984 kB / 0.8116 GB, free: 1.703 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1362/0.1362, allocations: 145 MB / 0.9531 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003879/0.1401, allocations: 3.789 MB / 0.9568 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1402, allocations: 0 / 0.9568 GB, free: 12.44 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.1406, allocations: 67.55 kB / 0.9569 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0003304/0.1409, allocations: 151.1 kB / 0.957 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.1434, allocations: 1.155 MB / 0.9582 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.1438, allocations: 347.5 kB / 0.9585 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.1438, allocations: 5.812 kB / 0.9585 GB, free: 10.72 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004606/0.1443, allocations: 259.1 kB / 0.9588 GB, free: 10.46 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1445, allocations: 119.7 kB / 0.9589 GB, free: 10.35 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.1445, allocations: 8 kB / 0.9589 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.1464, allocations: 1.094 MB / 0.9599 GB, free: 9.242 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.1466, allocations: 71.8 kB / 0.96 GB, free: 9.172 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.1467, allocations: 83.81 kB / 0.9601 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.1477, allocations: 0.6465 MB / 0.9607 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1477, allocations: 0 / 0.9607 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1477, allocations: 0 / 0.9607 GB, free: 8.441 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.1477, allocations: 0 / 0.9607 GB, free: 8.441 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.0009668/0.1487, allocations: 0.6242 MB / 0.9613 GB, free: 7.781 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.1488, allocations: 8.031 kB / 0.9613 GB, free: 7.773 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.1498, allocations: 236.1 kB / 0.9616 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.15, allocations: 164.3 kB / 0.9617 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.056e-05/0.15, allocations: 16.73 kB / 0.9617 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.15, allocations: 24.36 kB / 0.9618 GB, free: 7.316 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004984/0.1505, allocations: 0.494 MB / 0.9622 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.1506, allocations: 0 / 0.9622 GB, free: 6.738 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1506, allocations: 12 kB / 0.9623 GB, free: 6.727 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.879e-05/0.1506, allocations: 12 kB / 0.9623 GB, free: 6.715 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.151, allocations: 184.8 kB / 0.9624 GB, free: 6.535 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.1522, allocations: 1.105 MB / 0.9635 GB, free: 5.375 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.1526, allocations: 123 kB / 0.9636 GB, free: 5.242 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.604e-05/0.1527, allocations: 51.7 kB / 0.9637 GB, free: 5.188 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/0.1529, allocations: 75.94 kB / 0.9638 GB, free: 5.113 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.153, allocations: 41.39 kB / 0.9638 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.153, allocations: 0 / 0.9638 GB, free: 5.062 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0004994/0.1535, allocations: 191.2 kB / 0.964 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/0.1535, allocations: 55.41 kB / 0.964 GB, free: 4.805 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1536, allocations: 223.8 kB / 0.9643 GB, free: 4.57 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.1537, allocations: 33.7 kB / 0.9643 GB, free: 4.531 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.1538, allocations: 198.9 kB / 0.9645 GB, free: 4.332 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.889e-05/0.1538, allocations: 75.36 kB / 0.9645 GB, free: 4.258 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.1539, allocations: 59.34 kB / 0.9646 GB, free: 4.191 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.154, allocations: 0.4962 MB / 0.9651 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.1541, allocations: 32.27 kB / 0.9651 GB, free: 3.648 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1542, allocations: 161.7 kB / 0.9653 GB, free: 3.434 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002266/0.1545, allocations: 217.7 kB / 0.9655 GB, free: 3.168 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.1545, allocations: 8 kB / 0.9655 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004074/0.1549, allocations: 233 kB / 0.9657 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.1549, allocations: 10.66 kB / 0.9657 GB, free: 2.918 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1549, allocations: 4 kB / 0.9657 GB, free: 2.914 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.1549, allocations: 4.375 kB / 0.9657 GB, free: 2.91 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1551, allocations: 55.92 kB / 0.9658 GB, free: 2.855 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.1551, allocations: 11.92 kB / 0.9658 GB, free: 2.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000262/0.1554, allocations: 27.78 kB / 0.9658 GB, free: 2.816 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.1554, allocations: 12 kB / 0.9658 GB, free: 2.805 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 0.00011/0.1555, allocations: 172.5 kB / 0.966 GB, free: 2.625 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/0.1556, allocations: 39.77 kB / 0.966 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000322/0.1559, allocations: 187.9 kB / 0.9662 GB, free: 2.398 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.1559, allocations: 4 kB / 0.9662 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1559, allocations: 0 / 0.9662 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1559, allocations: 3.938 kB / 0.9662 GB, free: 2.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1564, allocations: 487.2 kB / 0.9667 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1564, allocations: 0 / 0.9667 GB, free: 1.867 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.1565, allocations: 31.92 kB / 0.9667 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.1566, allocations: 0 / 0.9667 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1566, allocations: 11.94 kB / 0.9667 GB, free: 1.824 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1566, allocations: 4 kB / 0.9667 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1566, allocations: 0 / 0.9667 GB, free: 1.82 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.1569, allocations: 350 kB / 0.9671 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.269e-05/0.157, allocations: 39.81 kB / 0.9671 GB, free: 1.414 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.157, allocations: 12 kB / 0.9671 GB, free: 1.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1572, allocations: 12 kB / 0.9671 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.1572, allocations: 19.81 kB / 0.9671 GB, free: 1.371 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.1572, allocations: 15.98 kB / 0.9672 GB, free: 1.355 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.825e-05/0.1573, allocations: 149.2 kB / 0.9673 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.1573, allocations: 0 / 0.9673 GB, free: 1.211 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005057/0.1578, allocations: 135.7 kB / 0.9674 GB, free: 1.078 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.000431/0.1583, allocations: 222.9 kB / 0.9676 GB, free: 0.8477 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1586, allocations: 143.5 kB / 0.9678 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1586, allocations: 0 / 0.9678 GB, free: 0.7031 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.19e-05/0.1587, allocations: 71.59 kB / 0.9678 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.1592, allocations: 89.22 kB / 0.9679 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.1602, allocations: 427.3 kB / 0.9683 GB, free: 96 kB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.805e-05/0.1603, allocations: 84.83 kB / 0.9684 GB, free: 15.99 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.000178/0.1605, allocations: 45.59 kB / 0.9685 GB, free: 15.95 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.1606, allocations: 28.44 kB / 0.9685 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of SimCode: time 7.81e-07/0.1606, allocations: 0 / 0.9685 GB, free: 15.92 MB / 0.9323 GB Notification: Performance of Templates: time 0.008524/0.1691, allocations: 5.01 MB / 0.9734 GB, free: 11.04 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.658245631027967]