Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009337/0.0009337, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001056/0.001056, allocations: 161 kB / 23.82 MB, free: 0.75 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 1.03/1.03, allocations: 177.2 MB / 204.2 MB, free: 5.582 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.931/1.931, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0.9844 kB / 0.8115 GB, free: 1.766 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.759e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00411/0.004128, allocations: 3.857 MB / 0.8153 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.00427, allocations: 156 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.932e-05/0.004289, allocations: 0.7188 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001065/0.004396, allocations: 3.938 kB / 0.8154 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.004474, allocations: 20.41 kB / 0.8154 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.004784, allocations: 81.86 kB / 0.8155 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.253e-05/0.004866, allocations: 39.84 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.004904, allocations: 0.9375 kB / 0.8156 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.255e-05/0.004956, allocations: 23.92 kB / 0.8156 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.005029, allocations: 12.69 kB / 0.8156 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.005043, allocations: 4 kB / 0.8156 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005373/0.00558, allocations: 211.9 kB / 0.8158 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.159e-05/0.005632, allocations: 10.3 kB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.005658, allocations: 7.984 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.005815, allocations: 63.81 kB / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.005818, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.002e-06/0.005819, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.005824, allocations: 0 / 0.8159 GB, free: 13.3 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004445/0.006269, allocations: 371.6 kB / 0.8162 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.006313, allocations: 8.031 kB / 0.8162 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.795e-05/0.006371, allocations: 9.234 kB / 0.8163 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.006487, allocations: 108.6 kB / 0.8164 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.006577, allocations: 51.97 kB / 0.8164 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.006591, allocations: 4.375 kB / 0.8164 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.006754, allocations: 76.66 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.006764, allocations: 192 / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.00678, allocations: 8.875 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.006812, allocations: 0 / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.185e-05/0.006844, allocations: 7.984 kB / 0.8165 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.007293, allocations: 260.3 kB / 0.8167 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/0.007345, allocations: 27.62 kB / 0.8168 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.007367, allocations: 12.19 kB / 0.8168 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.00742, allocations: 9.203 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.007457, allocations: 37.39 kB / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.593e-06/0.007458, allocations: 0 / 0.8168 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.007615, allocations: 38.42 kB / 0.8169 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/0.007646, allocations: 56.16 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.061e-05/0.007726, allocations: 165.9 kB / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.007737, allocations: 26.64 kB / 0.8171 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.342e-05/0.007791, allocations: 134.8 kB / 0.8172 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.845e-06/0.007799, allocations: 11.89 kB / 0.8172 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.058e-05/0.007829, allocations: 28.58 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.007944, allocations: 492.1 kB / 0.8177 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.007954, allocations: 0 / 0.8177 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.007975, allocations: 20.47 kB / 0.8178 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.871e-05/0.008014, allocations: 39.27 kB / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.008016, allocations: 0 / 0.8178 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.94e-05/0.008076, allocations: 45.64 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.008088, allocations: 4 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.008094, allocations: 4 kB / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008106, allocations: 0 / 0.8178 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.925e-05/0.008145, allocations: 11.92 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.008151, allocations: 0 / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.008165, allocations: 4 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.008174, allocations: 0 / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.093e-05/0.008235, allocations: 153.5 kB / 0.818 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.008254, allocations: 11.89 kB / 0.818 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.008367, allocations: 171.1 kB / 0.8182 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-05/0.008439, allocations: 268 kB / 0.8184 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.294e-05/0.008502, allocations: 265.2 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.676e-05/0.008569, allocations: 272 kB / 0.819 GB, free: 9.887 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001706/0.00874, allocations: 499.9 kB / 0.8194 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-05/0.008775, allocations: 150 kB / 0.8196 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.00881, allocations: 148.8 kB / 0.8197 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.355e-05/0.008874, allocations: 272.4 kB / 0.82 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.929e-05/0.008943, allocations: 277 kB / 0.8202 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.894e-05/0.009012, allocations: 272.1 kB / 0.8205 GB, free: 8.227 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.676e-05/0.009079, allocations: 268.7 kB / 0.8208 GB, free: 7.957 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.009233, allocations: 444 kB / 0.8212 GB, free: 7.496 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.009285, allocations: 162.3 kB / 0.8213 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/0.009369, allocations: 268.1 kB / 0.8216 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.009479, allocations: 148.9 kB / 0.8217 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.009553, allocations: 275.9 kB / 0.822 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.009594, allocations: 146.5 kB / 0.8221 GB, free: 6.484 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.685e-05/0.009641, allocations: 131.2 kB / 0.8223 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009641, allocations: 0 / 0.8223 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001698/0.00981, allocations: 15.94 kB / 0.8223 GB, free: 6.34 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001642/0.009975, allocations: 239.3 kB / 0.8225 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.767e-05/0.01005, allocations: 16.72 kB / 0.8225 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01005, allocations: 0 / 0.8225 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-06/0.01006, allocations: 4 kB / 0.8225 GB, free: 6.07 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.01041, allocations: 0.7068 MB / 0.8232 GB, free: 5.359 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004209/0.01083, allocations: 237.5 kB / 0.8234 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.01087, allocations: 59.34 kB / 0.8235 GB, free: 5.023 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.945e-05/0.01089, allocations: 4 kB / 0.8235 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.01091, allocations: 8.5 kB / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of SimCode: time 5.91e-07/0.01091, allocations: 0 / 0.8235 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of Templates: time 0.002469/0.01338, allocations: 0.7569 MB / 0.8242 GB, free: 4.27 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.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.240246505942196]