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.0008104/0.0008104, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009864/0.0009864, allocations: 169 kB / 24.28 MB, free: 276 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.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.894/1.894, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.663e-06/1.663e-06, allocations: 0 / 0.8116 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.633e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1394/0.1394, allocations: 144.7 MB / 0.9529 GB, free: 0.8594 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.1427, allocations: 3.754 MB / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.1428, allocations: 0 / 0.9565 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.1432, allocations: 63.53 kB / 0.9566 GB, free: 13.03 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0002727/0.1434, allocations: 147.1 kB / 0.9567 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002059/0.1455, allocations: 1.085 MB / 0.9578 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.1458, allocations: 335.5 kB / 0.9581 GB, free: 11.47 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.1459, allocations: 5.812 kB / 0.9581 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.1463, allocations: 251.1 kB / 0.9584 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.1465, allocations: 115.7 kB / 0.9585 GB, free: 11.1 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1465, allocations: 8 kB / 0.9585 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.1479, allocations: 1.078 MB / 0.9595 GB, free: 10.01 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.148, allocations: 75.78 kB / 0.9596 GB, free: 9.938 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 8.975e-05/0.1481, allocations: 79.83 kB / 0.9597 GB, free: 9.859 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009952/0.1491, allocations: 0.6464 MB / 0.9603 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1491, allocations: 0 / 0.9603 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.442e-06/0.1491, allocations: 0 / 0.9603 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.141e-06/0.1491, allocations: 0 / 0.9603 GB, free: 9.211 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.0008989/0.15, allocations: 0.6281 MB / 0.9609 GB, free: 8.547 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1501, allocations: 12.03 kB / 0.9609 GB, free: 8.535 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/0.1509, allocations: 224.2 kB / 0.9612 GB, free: 8.316 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002135/0.1511, allocations: 164.4 kB / 0.9613 GB, free: 8.129 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.1511, allocations: 16.75 kB / 0.9613 GB, free: 8.113 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.1512, allocations: 24.38 kB / 0.9613 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.1516, allocations: 0.5018 MB / 0.9618 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1516, allocations: 0 / 0.9618 GB, free: 7.504 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.1516, allocations: 8 kB / 0.9618 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.016e-05/0.1516, allocations: 16 kB / 0.9619 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.1519, allocations: 180.8 kB / 0.962 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.1531, allocations: 1.109 MB / 0.9631 GB, free: 6.137 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004909/0.1535, allocations: 123 kB / 0.9632 GB, free: 6.004 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.472e-05/0.1536, allocations: 51.67 kB / 0.9633 GB, free: 5.949 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002123/0.1538, allocations: 75.94 kB / 0.9634 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.1539, allocations: 45.38 kB / 0.9634 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.1539, allocations: 0 / 0.9634 GB, free: 5.82 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0004274/0.1543, allocations: 183.2 kB / 0.9636 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.1543, allocations: 55.41 kB / 0.9636 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1544, allocations: 227.4 kB / 0.9638 GB, free: 5.332 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1545, allocations: 29.7 kB / 0.9639 GB, free: 5.297 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.1545, allocations: 206.9 kB / 0.9641 GB, free: 5.09 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.1546, allocations: 71.39 kB / 0.9641 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.41e-05/0.1547, allocations: 59.34 kB / 0.9642 GB, free: 4.953 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.1548, allocations: 0.4962 MB / 0.9647 GB, free: 4.445 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.119e-05/0.1548, allocations: 36.25 kB / 0.9647 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.1549, allocations: 161.6 kB / 0.9649 GB, free: 4.195 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1551, allocations: 214.2 kB / 0.9651 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1551, allocations: 0 / 0.9651 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003615/0.1555, allocations: 241 kB / 0.9653 GB, free: 3.691 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.1555, allocations: 4 kB / 0.9653 GB, free: 3.688 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.1555, allocations: 4 kB / 0.9653 GB, free: 3.684 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.1556, allocations: 4 kB / 0.9653 GB, free: 3.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.1557, allocations: 47.92 kB / 0.9654 GB, free: 3.633 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1557, allocations: 11.92 kB / 0.9654 GB, free: 3.621 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1558, allocations: 32.16 kB / 0.9654 GB, free: 3.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.1559, allocations: 23.94 kB / 0.9654 GB, free: 3.566 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.0001193/0.156, allocations: 168.5 kB / 0.9656 GB, free: 3.387 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-05/0.1561, allocations: 39.77 kB / 0.9656 GB, free: 3.348 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002819/0.1563, allocations: 182.8 kB / 0.9658 GB, free: 3.164 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1563, allocations: 4 kB / 0.9658 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.1564, allocations: 0 / 0.9658 GB, free: 3.16 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1564, allocations: 7.922 kB / 0.9658 GB, free: 3.152 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004228/0.1568, allocations: 483 kB / 0.9663 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1568, allocations: 0 / 0.9663 GB, free: 2.633 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.108e-05/0.1569, allocations: 31.98 kB / 0.9663 GB, free: 2.602 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1569, allocations: 4 kB / 0.9663 GB, free: 2.598 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.1569, allocations: 7.938 kB / 0.9663 GB, free: 2.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.1569, allocations: 4 kB / 0.9663 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1569, allocations: 0 / 0.9663 GB, free: 2.586 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.1572, allocations: 346.9 kB / 0.9666 GB, free: 2.219 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.1573, allocations: 39.81 kB / 0.9667 GB, free: 2.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.1573, allocations: 7.938 kB / 0.9667 GB, free: 2.172 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1574, allocations: 18.72 kB / 0.9667 GB, free: 2.156 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.1574, allocations: 19.89 kB / 0.9667 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1575, allocations: 15.98 kB / 0.9667 GB, free: 2.121 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.1575, allocations: 149.4 kB / 0.9669 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1575, allocations: 0 / 0.9669 GB, free: 1.977 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003907/0.1579, allocations: 135.7 kB / 0.967 GB, free: 1.844 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.0003467/0.1583, allocations: 226.9 kB / 0.9672 GB, free: 1.609 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.1585, allocations: 139.6 kB / 0.9674 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1585, allocations: 0 / 0.9674 GB, free: 1.469 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.083e-05/0.1586, allocations: 77.94 kB / 0.9674 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.1589, allocations: 103.8 kB / 0.9675 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008642/0.1598, allocations: 425.4 kB / 0.9679 GB, free: 0.8438 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.887e-05/0.1599, allocations: 84.83 kB / 0.968 GB, free: 0.7422 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001527/0.16, allocations: 45.59 kB / 0.9681 GB, free: 0.6992 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.1601, allocations: 20.5 kB / 0.9681 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/0.1601, allocations: 0 / 0.9681 GB, free: 0.6797 MB / 0.9167 GB Notification: Performance of Templates: time 0.00727/0.1674, allocations: 5.163 MB / 0.9731 GB, free: 11.64 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.422707482939586]