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.001382/0.001382, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001544/0.001544, allocations: 161 kB / 24.17 MB, free: 328 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.9281/0.9281, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.854/1.854, 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.503e-06/1.503e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.497e-05, allocations: 2.312 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1512/0.1512, allocations: 144.4 MB / 0.901 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003461/0.1547, allocations: 3.812 MB / 0.9048 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.943e-05/0.1548, allocations: 3.938 kB / 0.9048 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1552, allocations: 71.58 kB / 0.9048 GB, free: 1.98 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1554, allocations: 143.1 kB / 0.905 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.1575, allocations: 1.167 MB / 0.9061 GB, free: 0.668 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.1578, allocations: 351.5 kB / 0.9064 GB, free: 332 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.347e-05/0.1579, allocations: 10.47 kB / 0.9064 GB, free: 316 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004571/0.1583, allocations: 263.1 kB / 0.9067 GB, free: 52 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.1585, allocations: 111.7 kB / 0.9068 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.1586, allocations: 12 kB / 0.9068 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.1598, allocations: 1.063 MB / 0.9079 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 9.056e-05/0.1599, allocations: 71.8 kB / 0.9079 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.16, allocations: 79.89 kB / 0.908 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006785/0.1606, allocations: 0.6503 MB / 0.9086 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1606, allocations: 0 / 0.9086 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1606, allocations: 0 / 0.9086 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1606, allocations: 4 kB / 0.9086 GB, free: 14.06 MB / 0.8698 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.000689/0.1613, allocations: 0.5033 MB / 0.9091 GB, free: 13.53 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.1614, allocations: 8.031 kB / 0.9091 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006727/0.162, allocations: 236.2 kB / 0.9094 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.1622, allocations: 145.5 kB / 0.9095 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1622, allocations: 16.75 kB / 0.9095 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.1623, allocations: 20.38 kB / 0.9095 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.1626, allocations: 490.5 kB / 0.91 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1626, allocations: 0 / 0.91 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.1626, allocations: 8 kB / 0.91 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.1627, allocations: 16 kB / 0.91 GB, free: 12.51 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001957/0.1629, allocations: 153.8 kB / 0.9102 GB, free: 12.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.164, allocations: 0.7721 MB / 0.9109 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.1642, allocations: 154.9 kB / 0.9111 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.202e-05/0.1643, allocations: 36.84 kB / 0.9111 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000183/0.1644, allocations: 71.95 kB / 0.9112 GB, free: 11.28 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1645, allocations: 34.55 kB / 0.9112 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.713e-06/0.1645, allocations: 4 kB / 0.9112 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0002884/0.1647, allocations: 139.6 kB / 0.9114 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.1648, allocations: 63.33 kB / 0.9114 GB, free: 11.02 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.64e-05/0.1649, allocations: 160.4 kB / 0.9116 GB, free: 10.85 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.1649, allocations: 29.7 kB / 0.9116 GB, free: 10.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.661e-05/0.1649, allocations: 156.1 kB / 0.9117 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.454e-05/0.165, allocations: 75.36 kB / 0.9118 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.165, allocations: 57.62 kB / 0.9119 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.47e-05/0.1651, allocations: 326.8 kB / 0.9122 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.008e-05/0.1651, allocations: 35.09 kB / 0.9122 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.713e-05/0.1652, allocations: 107.6 kB / 0.9123 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.1654, allocations: 178.8 kB / 0.9125 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1654, allocations: 4 kB / 0.9125 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002134/0.1656, allocations: 186.9 kB / 0.9127 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.1656, allocations: 8.375 kB / 0.9127 GB, free: 9.586 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1656, allocations: 8 kB / 0.9127 GB, free: 9.578 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1656, allocations: 4 kB / 0.9127 GB, free: 9.574 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.1657, allocations: 55.91 kB / 0.9127 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1657, allocations: 7.938 kB / 0.9127 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.068e-05/0.1658, allocations: 27.78 kB / 0.9128 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.1658, allocations: 8 kB / 0.9128 GB, free: 9.477 MB / 0.8698 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 7.554e-05/0.1659, allocations: 132.5 kB / 0.9129 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.931e-05/0.166, allocations: 35.84 kB / 0.9129 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.1661, allocations: 154.8 kB / 0.9131 GB, free: 9.141 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1662, allocations: 11.98 kB / 0.9131 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.1662, allocations: 0 / 0.9131 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1662, allocations: 0 / 0.9131 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.1665, allocations: 383.2 kB / 0.9135 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.1665, allocations: 11.92 kB / 0.9135 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.793e-05/0.1665, allocations: 23.94 kB / 0.9135 GB, free: 8.688 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1665, allocations: 4 kB / 0.9135 GB, free: 8.684 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.1665, allocations: 7.984 kB / 0.9135 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1665, allocations: 4 kB / 0.9135 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1665, allocations: 0 / 0.9135 GB, free: 8.672 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.1668, allocations: 313.3 kB / 0.9138 GB, free: 8.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.1668, allocations: 27.83 kB / 0.9138 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.1668, allocations: 4 kB / 0.9138 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.367e-05/0.1669, allocations: 11.98 kB / 0.9139 GB, free: 8.297 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.008e-05/0.1669, allocations: 11.98 kB / 0.9139 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.167, allocations: 11.98 kB / 0.9139 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.593e-05/0.167, allocations: 32.83 kB / 0.9139 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.167, allocations: 0 / 0.9139 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002695/0.1673, allocations: 135.7 kB / 0.914 GB, free: 8.105 MB / 0.8698 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.0002686/0.1675, allocations: 200 kB / 0.9142 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001466/0.1677, allocations: 112.5 kB / 0.9143 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1677, allocations: 4 kB / 0.9143 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.945e-05/0.1677, allocations: 62.55 kB / 0.9144 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.168, allocations: 84.53 kB / 0.9145 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.1686, allocations: 442.2 kB / 0.9149 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.958e-05/0.1687, allocations: 92.62 kB / 0.915 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.1688, allocations: 41.59 kB / 0.915 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.169, allocations: 139.2 kB / 0.9152 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of SimCode: time 6.11e-07/0.169, allocations: 0 / 0.9152 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of Templates: time 0.006929/0.1759, allocations: 5.838 MB / 0.9209 GB, free: 1.176 MB / 0.8698 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.2643188131041825]