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.0009247/0.0009247, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.0009412/0.0009412, allocations: 185.3 kB / 24.09 MB, free: 412 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.9289/0.9289, allocations: 177.1 MB / 204.5 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.81/1.81, allocations: 377.9 MB / 0.624 GB, free: 8.363 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.483e-06/1.483e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.987e-05/2.135e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1372/0.1372, allocations: 142.3 MB / 0.951 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.1403, allocations: 3.77 MB / 0.9547 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1404, allocations: 7.938 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.1408, allocations: 63.59 kB / 0.9547 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.1411, allocations: 143.1 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.1435, allocations: 1.163 MB / 0.956 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1439, allocations: 339.5 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.1439, allocations: 9.812 kB / 0.9563 GB, free: 13.15 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1444, allocations: 255.1 kB / 0.9566 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001665/0.1445, allocations: 115.7 kB / 0.9567 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.1445, allocations: 12 kB / 0.9567 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001675/0.1462, allocations: 1.098 MB / 0.9578 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.1463, allocations: 71.8 kB / 0.9578 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.1464, allocations: 79.89 kB / 0.9579 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1476, allocations: 0.6503 MB / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1476, allocations: 4 kB / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1476, allocations: 0 / 0.9585 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1476, allocations: 0 / 0.9585 GB, free: 10.87 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.0008308/0.1484, allocations: 0.6242 MB / 0.9592 GB, free: 10.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1484, allocations: 8.031 kB / 0.9592 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007369/0.1492, allocations: 228.2 kB / 0.9594 GB, free: 9.977 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1494, allocations: 160.3 kB / 0.9595 GB, free: 9.793 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.1494, allocations: 12.75 kB / 0.9595 GB, free: 9.781 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.1494, allocations: 20.38 kB / 0.9596 GB, free: 9.762 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.1499, allocations: 493.8 kB / 0.96 GB, free: 9.195 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1499, allocations: 7.984 kB / 0.96 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.1499, allocations: 8 kB / 0.9601 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.258e-05/0.1499, allocations: 15.98 kB / 0.9601 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002263/0.1502, allocations: 155 kB / 0.9602 GB, free: 9.012 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009898/0.1511, allocations: 1.066 MB / 0.9613 GB, free: 7.898 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1514, allocations: 111 kB / 0.9614 GB, free: 7.777 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.1514, allocations: 47.64 kB / 0.9614 GB, free: 7.727 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.1516, allocations: 79.94 kB / 0.9615 GB, free: 7.648 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1517, allocations: 33.5 kB / 0.9615 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=21): time 1.493e-06/0.1517, allocations: 7.875 kB / 0.9615 GB, free: 7.598 MB / 0.9167 GB Notification: Performance of matching and sorting (n=21): time 0.0003342/0.152, allocations: 171.6 kB / 0.9617 GB, free: 7.426 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.144e-05/0.152, allocations: 51.41 kB / 0.9617 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1521, allocations: 221.7 kB / 0.9619 GB, free: 7.129 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.1521, allocations: 25.7 kB / 0.962 GB, free: 7.098 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.1522, allocations: 214.9 kB / 0.9622 GB, free: 6.883 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.549e-05/0.1523, allocations: 71.38 kB / 0.9622 GB, free: 6.812 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.584e-05/0.1523, allocations: 59.33 kB / 0.9623 GB, free: 6.746 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.1524, allocations: 0.5001 MB / 0.9628 GB, free: 6.234 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.1525, allocations: 28.27 kB / 0.9628 GB, free: 6.203 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.96e-05/0.1526, allocations: 156.4 kB / 0.963 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.1527, allocations: 201.4 kB / 0.9632 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1527, allocations: 0 / 0.9632 GB, free: 5.746 MB / 0.9167 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002746/0.153, allocations: 217.1 kB / 0.9634 GB, free: 5.531 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.153, allocations: 8 kB / 0.9634 GB, free: 5.523 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.153, allocations: 4 kB / 0.9634 GB, free: 5.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1531, allocations: 4 kB / 0.9634 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1532, allocations: 55.91 kB / 0.9634 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1532, allocations: 7.938 kB / 0.9634 GB, free: 5.453 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.1533, allocations: 31.72 kB / 0.9635 GB, free: 5.422 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.1533, allocations: 8 kB / 0.9635 GB, free: 5.414 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 9.422e-05/0.1534, allocations: 176.8 kB / 0.9636 GB, free: 5.23 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.143e-05/0.1535, allocations: 39.77 kB / 0.9637 GB, free: 5.191 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002178/0.1537, allocations: 166.8 kB / 0.9638 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1537, allocations: 0 / 0.9638 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1537, allocations: 0 / 0.9638 GB, free: 5.023 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1537, allocations: 3.984 kB / 0.9638 GB, free: 5.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.1541, allocations: 449 kB / 0.9643 GB, free: 4.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1541, allocations: 4 kB / 0.9643 GB, free: 4.535 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.1541, allocations: 31.98 kB / 0.9643 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1541, allocations: 4.062 kB / 0.9643 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1542, allocations: 0 / 0.9643 GB, free: 4.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1542, allocations: 4 kB / 0.9643 GB, free: 4.496 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.1542, allocations: 3.938 kB / 0.9643 GB, free: 4.492 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002729/0.1544, allocations: 333.4 kB / 0.9646 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.1545, allocations: 43.78 kB / 0.9647 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.1545, allocations: 8 kB / 0.9647 GB, free: 4.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1546, allocations: 11.98 kB / 0.9647 GB, free: 4.078 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.331e-05/0.1546, allocations: 15.83 kB / 0.9647 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.1547, allocations: 15.98 kB / 0.9647 GB, free: 4.047 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.233e-05/0.1547, allocations: 148.8 kB / 0.9649 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1547, allocations: 0 / 0.9649 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003476/0.1551, allocations: 131.7 kB / 0.965 GB, free: 3.773 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.0003148/0.1554, allocations: 226.8 kB / 0.9652 GB, free: 3.539 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001964/0.1556, allocations: 124 kB / 0.9653 GB, free: 3.41 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/0.1556, allocations: 12.06 kB / 0.9653 GB, free: 3.398 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.1556, allocations: 60.83 kB / 0.9654 GB, free: 3.336 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.156, allocations: 96.45 kB / 0.9655 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007315/0.1567, allocations: 417.3 kB / 0.9659 GB, free: 2.801 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.955e-05/0.1568, allocations: 80.83 kB / 0.966 GB, free: 2.703 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.1569, allocations: 45.59 kB / 0.966 GB, free: 2.66 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.1571, allocations: 174.1 kB / 0.9662 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of SimCode: time 7.81e-07/0.1571, allocations: 0 / 0.9662 GB, free: 2.488 MB / 0.9167 GB Notification: Performance of Templates: time 0.007743/0.1649, allocations: 5.867 MB / 0.9719 GB, free: 12.73 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.309842926915735]