Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001182/0.001182, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001023/0.001023, allocations: 173 kB / 23.49 MB, free: 1.059 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.9854/0.9854, allocations: 177.1 MB / 203.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.148/2.148, allocations: 429.5 MB / 0.6736 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.AirProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.62e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1489/0.1489, allocations: 144.7 MB / 1.02 GB, free: 5.395 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.153, allocations: 3.75 MB / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.794e-05/0.1531, allocations: 0 / 1.023 GB, free: 1.633 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0003836/0.1535, allocations: 75.52 kB / 1.023 GB, free: 1.559 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1538, allocations: 135.1 kB / 1.023 GB, free: 1.426 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001897/0.1557, allocations: 1.077 MB / 1.024 GB, free: 352 kB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0003527/0.156, allocations: 339.5 kB / 1.025 GB, free: 12 kB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.1561, allocations: 9.812 kB / 1.025 GB, free: 0 / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004518/0.1565, allocations: 255 kB / 1.025 GB, free: 15.75 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1567, allocations: 111.7 kB / 1.025 GB, free: 15.64 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.1567, allocations: 12 kB / 1.025 GB, free: 15.63 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.1581, allocations: 1.071 MB / 1.026 GB, free: 14.55 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.1582, allocations: 83.78 kB / 1.026 GB, free: 14.47 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1583, allocations: 79.89 kB / 1.026 GB, free: 14.39 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.1592, allocations: 0.6464 MB / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1592, allocations: 0 / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1592, allocations: 0 / 1.027 GB, free: 13.75 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.1592, allocations: 0 / 1.027 GB, free: 13.75 MB / 0.9948 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.001134/0.1604, allocations: 0.6241 MB / 1.028 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1604, allocations: 15.97 kB / 1.028 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1615, allocations: 232.1 kB / 1.028 GB, free: 12.84 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1617, allocations: 164.3 kB / 1.028 GB, free: 12.66 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1617, allocations: 20.75 kB / 1.028 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.1617, allocations: 20.38 kB / 1.028 GB, free: 12.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.1622, allocations: 0.494 MB / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1622, allocations: 0 / 1.028 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/0.1623, allocations: 8 kB / 1.029 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.726e-05/0.1623, allocations: 16 kB / 1.029 GB, free: 12.01 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.1627, allocations: 184.8 kB / 1.029 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1638, allocations: 1.085 MB / 1.03 GB, free: 10.69 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003267/0.1642, allocations: 134.9 kB / 1.03 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.83e-05/0.1642, allocations: 47.67 kB / 1.03 GB, free: 10.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.1645, allocations: 79.92 kB / 1.03 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.1645, allocations: 41.39 kB / 1.03 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=21): time 2.084e-06/0.1645, allocations: 0 / 1.03 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=21): time 0.0005037/0.165, allocations: 187.7 kB / 1.03 GB, free: 10.18 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1651, allocations: 55.41 kB / 1.03 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.1652, allocations: 218.7 kB / 1.03 GB, free: 9.883 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.1652, allocations: 37.7 kB / 1.031 GB, free: 9.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.306e-05/0.1653, allocations: 202.9 kB / 1.031 GB, free: 9.637 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.1654, allocations: 75.39 kB / 1.031 GB, free: 9.562 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.1654, allocations: 55.31 kB / 1.031 GB, free: 9.5 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1656, allocations: 0.5001 MB / 1.031 GB, free: 8.988 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.388e-05/0.1657, allocations: 32.25 kB / 1.031 GB, free: 8.953 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.1658, allocations: 160.5 kB / 1.032 GB, free: 8.742 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.166, allocations: 222.6 kB / 1.032 GB, free: 8.473 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.166, allocations: 4 kB / 1.032 GB, free: 8.469 MB / 0.9948 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004158/0.1664, allocations: 229.1 kB / 1.032 GB, free: 8.238 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.1665, allocations: 8 kB / 1.032 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1665, allocations: 0 / 1.032 GB, free: 8.23 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.1665, allocations: 8 kB / 1.032 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.1667, allocations: 55.91 kB / 1.032 GB, free: 8.168 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.1667, allocations: 7.938 kB / 1.032 GB, free: 8.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.1668, allocations: 27.78 kB / 1.032 GB, free: 8.133 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.1668, allocations: 12.38 kB / 1.032 GB, free: 8.121 MB / 0.9948 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.0001074/0.1669, allocations: 180.5 kB / 1.032 GB, free: 7.934 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.1671, allocations: 35.77 kB / 1.032 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.1674, allocations: 192.4 kB / 1.032 GB, free: 7.707 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1675, allocations: 8 kB / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1675, allocations: 112 / 1.032 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.1675, allocations: 11.86 kB / 1.032 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.168, allocations: 476.5 kB / 1.033 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.168, allocations: 0 / 1.033 GB, free: 7.172 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1681, allocations: 31.92 kB / 1.033 GB, free: 7.141 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1681, allocations: 4.062 kB / 1.033 GB, free: 7.137 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.1681, allocations: 11.94 kB / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1681, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1681, allocations: 0 / 1.033 GB, free: 7.125 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.1685, allocations: 348.2 kB / 1.033 GB, free: 6.758 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.1685, allocations: 39.81 kB / 1.033 GB, free: 6.719 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.987e-05/0.1686, allocations: 7.938 kB / 1.033 GB, free: 6.711 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1687, allocations: 17.53 kB / 1.033 GB, free: 6.695 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.1687, allocations: 7.984 kB / 1.033 GB, free: 6.688 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.738e-05/0.1688, allocations: 23.98 kB / 1.033 GB, free: 6.664 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 7.053e-05/0.1688, allocations: 149 kB / 1.034 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8e-08/0.1688, allocations: 0 / 1.034 GB, free: 6.52 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0004344/0.1693, allocations: 127.8 kB / 1.034 GB, free: 6.395 MB / 0.9948 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.0003828/0.1697, allocations: 238.7 kB / 1.034 GB, free: 6.148 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.1699, allocations: 141.7 kB / 1.034 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1699, allocations: 4 kB / 1.034 GB, free: 6.004 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.17, allocations: 71.53 kB / 1.034 GB, free: 5.93 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005703/0.1706, allocations: 93.2 kB / 1.034 GB, free: 5.84 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.1719, allocations: 425.5 kB / 1.035 GB, free: 5.391 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.296e-05/0.172, allocations: 84.83 kB / 1.035 GB, free: 5.289 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002193/0.1722, allocations: 45.55 kB / 1.035 GB, free: 5.246 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.713e-05/0.1723, allocations: 24.48 kB / 1.035 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of SimCode: time 9.92e-07/0.1723, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.9948 GB Notification: Performance of Templates: time 0.01058/0.1828, allocations: 5.172 MB / 1.04 GB, free: 172 kB / 0.9948 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.AirProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirProperties.sim & ./Buildings_latest_Buildings.Media.Examples.AirProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.881296901032329]