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.001385/0.001385, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001677/0.001677, allocations: 161 kB / 24.17 MB, free: 332 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.9619/0.9619, allocations: 177.2 MB / 204.6 MB, free: 5.488 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 2.095/2.095, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 177] 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.442e-06/1.442e-06, allocations: 0 / 0.7601 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.053e-05, allocations: 8.031 kB / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.1446/0.1446, allocations: 144.4 MB / 0.9011 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003562/0.1481, allocations: 3.822 MB / 0.9049 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.1483, allocations: 0 / 0.9049 GB, free: 1.957 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004121/0.1487, allocations: 75.58 kB / 0.9049 GB, free: 1.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0002876/0.149, allocations: 143 kB / 0.9051 GB, free: 1.742 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.1511, allocations: 1.135 MB / 0.9062 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0003321/0.1515, allocations: 347.5 kB / 0.9065 GB, free: 268 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.166e-05/0.1515, allocations: 10.41 kB / 0.9065 GB, free: 252 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004008/0.1519, allocations: 263.2 kB / 0.9068 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.152, allocations: 115.7 kB / 0.9069 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.1521, allocations: 15.98 kB / 0.9069 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001407/0.1535, allocations: 1.082 MB / 0.908 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 8.639e-05/0.1536, allocations: 71.8 kB / 0.908 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.1539, allocations: 87.81 kB / 0.9081 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008196/0.1547, allocations: 0.6425 MB / 0.9087 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1547, allocations: 0 / 0.9087 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1547, allocations: 0 / 0.9087 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.1547, allocations: 4 kB / 0.9087 GB, free: 13.97 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.0007108/0.1554, allocations: 0.4917 MB / 0.9092 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.1555, allocations: 15.97 kB / 0.9092 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.1563, allocations: 240.2 kB / 0.9095 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.1565, allocations: 149.5 kB / 0.9096 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/0.1565, allocations: 16.75 kB / 0.9096 GB, free: 13.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.1565, allocations: 20.38 kB / 0.9096 GB, free: 13 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003605/0.1569, allocations: 482.5 kB / 0.9101 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1569, allocations: 0 / 0.9101 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.1569, allocations: 12 kB / 0.9101 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.157, allocations: 12 kB / 0.9101 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002102/0.1572, allocations: 149.8 kB / 0.9103 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008151/0.158, allocations: 0.78 MB / 0.911 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.1582, allocations: 158.8 kB / 0.9112 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.1583, allocations: 36.84 kB / 0.9112 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.1585, allocations: 63.94 kB / 0.9113 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1585, allocations: 42.56 kB / 0.9113 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=21): time 1.953e-06/0.1585, allocations: 0 / 0.9113 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21): time 0.0003155/0.1588, allocations: 145.4 kB / 0.9115 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.1588, allocations: 55.41 kB / 0.9115 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.603e-05/0.1589, allocations: 156.4 kB / 0.9117 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.1589, allocations: 33.69 kB / 0.9117 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.159, allocations: 152.2 kB / 0.9118 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.159, allocations: 75.36 kB / 0.9119 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.1591, allocations: 53.62 kB / 0.912 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.1592, allocations: 326.8 kB / 0.9123 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.1592, allocations: 31.09 kB / 0.9123 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.1593, allocations: 115.7 kB / 0.9124 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.1594, allocations: 178.7 kB / 0.9126 GB, free: 9.703 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1594, allocations: 4 kB / 0.9126 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002426/0.1597, allocations: 190.9 kB / 0.9128 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.1597, allocations: 8.375 kB / 0.9128 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.1597, allocations: 4 kB / 0.9128 GB, free: 9.492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1597, allocations: 4 kB / 0.9128 GB, free: 9.488 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1598, allocations: 59.91 kB / 0.9128 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1599, allocations: 7.984 kB / 0.9128 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.1599, allocations: 27.78 kB / 0.9129 GB, free: 9.395 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.139e-05/0.16, allocations: 8 kB / 0.9129 GB, free: 9.387 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 8.197e-05/0.16, allocations: 136.5 kB / 0.913 GB, free: 9.242 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.1601, allocations: 35.8 kB / 0.913 GB, free: 9.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.1603, allocations: 162.3 kB / 0.9132 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1603, allocations: 4 kB / 0.9132 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-06/0.1603, allocations: 4 kB / 0.9132 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.1603, allocations: 0 / 0.9132 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003285/0.1607, allocations: 386.4 kB / 0.9136 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1607, allocations: 0 / 0.9136 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.428e-05/0.1608, allocations: 31.92 kB / 0.9136 GB, free: 8.594 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1608, allocations: 4 kB / 0.9136 GB, free: 8.59 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1608, allocations: 8 kB / 0.9136 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1608, allocations: 0 / 0.9136 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1608, allocations: 4 kB / 0.9136 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.161, allocations: 309.3 kB / 0.9139 GB, free: 8.25 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.974e-05/0.1611, allocations: 31.83 kB / 0.9139 GB, free: 8.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.1611, allocations: 3.984 kB / 0.914 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1612, allocations: 9.719 kB / 0.914 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.1612, allocations: 11.98 kB / 0.914 GB, free: 8.195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.553e-05/0.1613, allocations: 15.98 kB / 0.914 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.036e-05/0.1613, allocations: 32.83 kB / 0.914 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.1613, allocations: 0 / 0.914 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003116/0.1616, allocations: 131.7 kB / 0.9141 GB, free: 8.016 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.0003092/0.1619, allocations: 204 kB / 0.9143 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001634/0.1621, allocations: 120.4 kB / 0.9145 GB, free: 7.688 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.1621, allocations: 4 kB / 0.9145 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.1621, allocations: 53.58 kB / 0.9145 GB, free: 7.629 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003199/0.1625, allocations: 92.45 kB / 0.9146 GB, free: 7.539 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009674/0.1634, allocations: 427.8 kB / 0.915 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.005e-05/0.1635, allocations: 96.61 kB / 0.9151 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.1636, allocations: 37.61 kB / 0.9151 GB, free: 6.941 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002211/0.1638, allocations: 143.2 kB / 0.9153 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of SimCode: time 7.62e-07/0.1638, allocations: 0 / 0.9153 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of Templates: time 0.007333/0.1712, allocations: 5.826 MB / 0.921 GB, free: 1.09 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 -s gbode -gbm=radauIIA3 -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.511655189096928]