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.001026/0.001026, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001035/0.001035, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.08/1.08, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.992/1.992, allocations: 377.9 MB / 0.6247 GB, free: 8.414 MB / 0.5886 GB " [Timeout remaining time 177] 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 2.314e-06/2.314e-06, allocations: 0 / 0.8127 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.256e-05, allocations: 4.844 kB / 0.8127 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005261/0.005293, allocations: 3.827 MB / 0.8165 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.005469, allocations: 156.6 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.005501, allocations: 5.312 kB / 0.8166 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.005632, allocations: 3.984 kB / 0.8166 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.816e-05/0.00572, allocations: 11.92 kB / 0.8167 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.006073, allocations: 85.77 kB / 0.8167 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.642e-05/0.00617, allocations: 39.84 kB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.08e-05/0.00622, allocations: 0.9062 kB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.145e-05/0.006282, allocations: 23.86 kB / 0.8168 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.006366, allocations: 11.97 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.006384, allocations: 5.031 kB / 0.8168 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005959/0.00698, allocations: 207.8 kB / 0.817 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.007029, allocations: 11.98 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.007051, allocations: 5.281 kB / 0.817 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001457/0.007196, allocations: 71.72 kB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.0072, allocations: 0 / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007201, allocations: 3.062 kB / 0.8171 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.007211, allocations: 0 / 0.8171 GB, free: 13.04 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.0004427/0.007654, allocations: 356.3 kB / 0.8174 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.007696, allocations: 12.03 kB / 0.8174 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.00774, allocations: 5.234 kB / 0.8175 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001099/0.00785, allocations: 108.6 kB / 0.8176 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.912e-05/0.007929, allocations: 51.97 kB / 0.8176 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.007942, allocations: 4.375 kB / 0.8176 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.008081, allocations: 77.16 kB / 0.8177 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.008091, allocations: 6.062 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.008103, allocations: 7.938 kB / 0.8177 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.008131, allocations: 7.984 kB / 0.8177 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.302e-05/0.008154, allocations: 4 kB / 0.8177 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003999/0.008554, allocations: 236.5 kB / 0.8179 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.018e-05/0.008594, allocations: 27.91 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/0.00861, allocations: 12.53 kB / 0.818 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.051e-05/0.008651, allocations: 12.05 kB / 0.818 GB, free: 12 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.008682, allocations: 45.86 kB / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.008683, allocations: 0 / 0.818 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.008812, allocations: 36.27 kB / 0.8181 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.008844, allocations: 51.41 kB / 0.8181 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.414e-05/0.008938, allocations: 165.9 kB / 0.8183 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.008952, allocations: 25.7 kB / 0.8183 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.46e-05/0.009017, allocations: 134.8 kB / 0.8184 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.639e-06/0.009026, allocations: 11.89 kB / 0.8184 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.009064, allocations: 26.23 kB / 0.8185 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.009213, allocations: 496.1 kB / 0.8189 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.617e-06/0.009221, allocations: 4 kB / 0.8189 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.142e-05/0.009243, allocations: 19.31 kB / 0.819 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.164e-05/0.009284, allocations: 27.36 kB / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.009287, allocations: 0 / 0.819 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.316e-05/0.00936, allocations: 50.52 kB / 0.819 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.009373, allocations: 5.125 kB / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.00938, allocations: 0 / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.009391, allocations: 4 kB / 0.819 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.806e-05/0.009429, allocations: 9.016 kB / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.376e-06/0.009432, allocations: 0 / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.009447, allocations: 0 / 0.819 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.009456, allocations: 5.125 kB / 0.8191 GB, free: 10.82 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 7.787e-05/0.009534, allocations: 152.6 kB / 0.8192 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.286e-05/0.009557, allocations: 17.05 kB / 0.8192 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.009801, allocations: 163.7 kB / 0.8194 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.389e-05/0.009865, allocations: 268.1 kB / 0.8196 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/0.009931, allocations: 269.7 kB / 0.8199 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.421e-05/0.009995, allocations: 264.1 kB / 0.8201 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.01019, allocations: 488.5 kB / 0.8206 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-05/0.01024, allocations: 156.8 kB / 0.8208 GB, free: 8.988 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.727e-05/0.01029, allocations: 145.4 kB / 0.8209 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.391e-05/0.01036, allocations: 269.3 kB / 0.8211 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.597e-05/0.01044, allocations: 272.1 kB / 0.8214 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.557e-05/0.01051, allocations: 272 kB / 0.8217 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-05/0.01059, allocations: 268 kB / 0.8219 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.01076, allocations: 449 kB / 0.8223 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.01081, allocations: 148.8 kB / 0.8225 GB, free: 7.137 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.789e-05/0.0109, allocations: 273.4 kB / 0.8228 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.01101, allocations: 156.8 kB / 0.8229 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.01108, allocations: 268.1 kB / 0.8232 GB, free: 6.434 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.057e-05/0.01112, allocations: 148.8 kB / 0.8233 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.084e-05/0.01118, allocations: 128.3 kB / 0.8234 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01118, allocations: 0 / 0.8234 GB, free: 6.156 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001827/0.01137, allocations: 19.94 kB / 0.8234 GB, free: 6.137 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.0001912/0.01156, allocations: 239.6 kB / 0.8237 GB, free: 5.891 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.914e-05/0.01164, allocations: 22.64 kB / 0.8237 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01164, allocations: 0 / 0.8237 GB, free: 5.867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.01164, allocations: 3.938 kB / 0.8237 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.012, allocations: 0.7061 MB / 0.8244 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.01234, allocations: 237.5 kB / 0.8246 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.092e-05/0.01237, allocations: 56.06 kB / 0.8247 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.905e-05/0.0124, allocations: 12.31 kB / 0.8247 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.01247, allocations: 86.17 kB / 0.8248 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.01247, allocations: 0 / 0.8248 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.002282/0.01475, allocations: 0.7627 MB / 0.8255 GB, free: 3.973 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.258640415966511]