Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001103/0.001103, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002791, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001098/0.001098, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00144/0.002537, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.085/1.085, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09638/1.182, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.444/2.444, allocations: 446.7 MB / 0.6745 GB, free: 6.211 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.253/2.697, allocations: 145.9 MB / 0.817 GB, free: 4.215 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 3.938 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.935e-05, allocations: 8.562 kB / 0.8183 GB, free: 2.914 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005577/0.005606, allocations: 3.963 MB / 0.8222 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001741/0.00578, allocations: 151.4 kB / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.06e-05/0.005801, allocations: 0 / 0.8223 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.332e-05/0.005874, allocations: 3.938 kB / 0.8223 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.522e-05/0.005939, allocations: 23.84 kB / 0.8223 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.006186, allocations: 79.69 kB / 0.8224 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.006272, allocations: 39.78 kB / 0.8224 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.006317, allocations: 7.984 kB / 0.8225 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 7.103e-05/0.006388, allocations: 15.98 kB / 0.8225 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.957e-05/0.006458, allocations: 7.984 kB / 0.8225 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.006471, allocations: 7.938 kB / 0.8225 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004468/0.006918, allocations: 171.5 kB / 0.8226 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.006953, allocations: 8 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.981e-05/0.006972, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.0071, allocations: 63.75 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.801e-05/0.007118, allocations: 4 kB / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007119, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.65e-05/0.007136, allocations: 0 / 0.8227 GB, free: 14.35 MB / 0.8073 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.0003447/0.00748, allocations: 236.6 kB / 0.8229 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.007514, allocations: 12.02 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.663e-05/0.007551, allocations: 4.938 kB / 0.823 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.088e-05/0.007642, allocations: 105.7 kB / 0.8231 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.684e-05/0.007698, allocations: 55.97 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.007707, allocations: 4.375 kB / 0.8231 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.007825, allocations: 79.47 kB / 0.8232 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.007833, allocations: 4.188 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.007841, allocations: 3.938 kB / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.599e-05/0.007867, allocations: 0 / 0.8232 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.007893, allocations: 11.92 kB / 0.8232 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002783/0.008171, allocations: 169.9 kB / 0.8234 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.711e-05/0.008208, allocations: 22.61 kB / 0.8234 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.177e-05/0.00822, allocations: 8.922 kB / 0.8234 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.008259, allocations: 8 kB / 0.8234 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.133e-05/0.00828, allocations: 34.5 kB / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.008282, allocations: 0 / 0.8235 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 9.932e-05/0.008381, allocations: 41.62 kB / 0.8235 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.008408, allocations: 55.34 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.903e-05/0.008467, allocations: 106.7 kB / 0.8236 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.008478, allocations: 25.7 kB / 0.8237 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.525e-05/0.008523, allocations: 88.09 kB / 0.8238 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-06/0.008528, allocations: 7.984 kB / 0.8238 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.008553, allocations: 17.7 kB / 0.8238 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.008619, allocations: 315 kB / 0.8241 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.284e-06/0.008626, allocations: 4 kB / 0.8241 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.715e-05/0.008643, allocations: 17.7 kB / 0.8241 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.497e-05/0.008668, allocations: 20.48 kB / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.00867, allocations: 0 / 0.8241 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.984e-05/0.00872, allocations: 41.62 kB / 0.8242 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.008734, allocations: 11.94 kB / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.008739, allocations: 0 / 0.8242 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.008749, allocations: 4.062 kB / 0.8242 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.257e-05/0.008791, allocations: 8 kB / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-06/0.008794, allocations: 0 / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.743e-05/0.008811, allocations: 7.953 kB / 0.8242 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.008822, allocations: 7.984 kB / 0.8242 GB, free: 12.65 MB / 0.8073 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 5.01e-05/0.008872, allocations: 108.7 kB / 0.8243 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.008887, allocations: 3.938 kB / 0.8243 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.758e-05/0.008974, allocations: 129.6 kB / 0.8244 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.009014, allocations: 180.3 kB / 0.8246 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-05/0.009052, allocations: 184.3 kB / 0.8248 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.939e-05/0.009091, allocations: 184.2 kB / 0.825 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.009217, allocations: 317.4 kB / 0.8253 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.793e-05/0.009244, allocations: 108.9 kB / 0.8254 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.009268, allocations: 101 kB / 0.8255 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.724e-05/0.009296, allocations: 101 kB / 0.8255 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.733e-05/0.009333, allocations: 184.4 kB / 0.8257 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.241e-05/0.009375, allocations: 184.2 kB / 0.8259 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.249e-05/0.009418, allocations: 188.2 kB / 0.8261 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.728e-05/0.009455, allocations: 180.3 kB / 0.8263 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.372e-05/0.009549, allocations: 299.8 kB / 0.8265 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.709e-05/0.009596, allocations: 188.2 kB / 0.8267 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.203e-05/0.009688, allocations: 108.9 kB / 0.8268 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.009731, allocations: 184.2 kB / 0.827 GB, free: 9.613 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.009755, allocations: 109 kB / 0.8271 GB, free: 9.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.846e-05/0.009773, allocations: 16.83 kB / 0.8271 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.009773, allocations: 3.938 kB / 0.8271 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001435/0.009917, allocations: 12 kB / 0.8271 GB, free: 9.465 MB / 0.8073 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.0001409/0.01006, allocations: 175.6 kB / 0.8273 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.701e-05/0.01011, allocations: 8.922 kB / 0.8273 GB, free: 9.273 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.01012, allocations: 8.062 kB / 0.8273 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.01e-07/0.01012, allocations: 0 / 0.8273 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.01036, allocations: 467.7 kB / 0.8278 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006893/0.01105, allocations: 198.6 kB / 0.828 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.286e-05/0.01108, allocations: 55.34 kB / 0.828 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.528e-05/0.01112, allocations: 10.75 kB / 0.828 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.01118, allocations: 59.36 kB / 0.8281 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of SimCode: time 7.81e-07/0.01118, allocations: 0 / 0.8281 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of Templates: time 0.002464/0.01364, allocations: 0.7851 MB / 0.8288 GB, free: 7.672 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.ref.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.470919628627598]