Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 200.9 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.884/2.884, allocations: 476.7 MB / 0.7645 GB, free: 10.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9806/0.9826, allocations: 168.7 MB / 1.274 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006287/0.9889, allocations: 3.775 MB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002539/0.9891, allocations: 163.5 kB / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.376e-05/0.9891, allocations: 0 / 1.278 GB, free: 464 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.9893, allocations: 7.922 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.204e-05/0.9893, allocations: 11.92 kB / 1.278 GB, free: 444 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000431/0.9898, allocations: 84.44 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.931e-05/0.9899, allocations: 31.84 kB / 1.278 GB, free: 328 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.9899, allocations: 7.984 kB / 1.278 GB, free: 320 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.99, allocations: 16 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.99, allocations: 15.91 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.404e-05/0.9901, allocations: 4 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005949/0.9906, allocations: 203.3 kB / 1.278 GB, free: 80 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.877e-05/0.9907, allocations: 7.984 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.9907, allocations: 11.94 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.9909, allocations: 38.56 kB / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.9909, allocations: 0 / 1.278 GB, free: 24 kB / 0.9669 GB Notification: Performance of FrontEnd: time 2.434e-06/0.9909, allocations: 8 kB / 1.278 GB, free: 16 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.9909, allocations: 0 / 1.278 GB, free: 16 kB / 0.9669 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.0005218/0.9914, allocations: 331.5 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.9914, allocations: 8.031 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.9915, allocations: 0.9375 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.9917, allocations: 172.3 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.9917, allocations: 34.2 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.667e-06/0.9917, allocations: 384 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.9919, allocations: 49.62 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.9919, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.9919, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.9919, allocations: 3.938 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.543e-05/0.992, allocations: 19.98 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.9925, allocations: 334 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.769e-05/0.9926, allocations: 18.58 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.749e-05/0.9926, allocations: 8.859 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.492e-05/0.9927, allocations: 85.16 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.9927, allocations: 38.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.9927, allocations: 0 / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001587/0.9929, allocations: 33.7 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.9929, allocations: 51.41 kB / 1.279 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.993, allocations: 109.8 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.9931, allocations: 29.83 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.885e-05/0.9931, allocations: 84.09 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.9931, allocations: 7.953 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.9932, allocations: 17.7 kB / 1.28 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.9933, allocations: 318.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.9933, allocations: 0 / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.827e-05/0.9934, allocations: 17.66 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.9934, allocations: 29.7 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.9934, allocations: 0 / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.176e-05/0.9935, allocations: 45.64 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.9935, allocations: 13.7 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.9935, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.9935, allocations: 0 / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.9936, allocations: 4 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.9936, allocations: 0 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.9936, allocations: 12 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.9936, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 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 9.927e-05/0.9937, allocations: 115.3 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.9937, allocations: 4 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001368/0.9939, allocations: 120.9 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-05/0.994, allocations: 184.2 kB / 1.28 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.575e-05/0.9941, allocations: 180.3 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-05/0.9942, allocations: 192.2 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.9944, allocations: 397.2 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/0.9945, allocations: 112.9 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.413e-05/0.9945, allocations: 101 kB / 1.281 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/0.9946, allocations: 188.2 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-05/0.9947, allocations: 176.3 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-05/0.9948, allocations: 184.3 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.461e-05/0.9949, allocations: 184.2 kB / 1.282 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.9951, allocations: 319.7 kB / 1.282 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-05/0.9952, allocations: 178.1 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.9953, allocations: 184.2 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.9955, allocations: 108.9 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.9955, allocations: 176.3 kB / 1.283 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.9956, allocations: 112.9 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.586e-05/0.9957, allocations: 87.27 kB / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9957, allocations: 0 / 1.283 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002425/0.9959, allocations: 15.94 kB / 1.283 GB, free: 10.44 MB / 0.9825 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.0002535/0.9962, allocations: 207.5 kB / 1.283 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.956e-05/0.9962, allocations: 8 kB / 1.283 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9962, allocations: 0 / 1.283 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.387e-06/0.9962, allocations: 4.125 kB / 1.283 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.9967, allocations: 463.6 kB / 1.284 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002913/0.997, allocations: 178 kB / 1.284 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.9973, allocations: 0.6768 MB / 1.285 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.093e-05/0.9974, allocations: 12.25 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.9974, allocations: 7.438 kB / 1.285 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.9974, allocations: 4 kB / 1.285 GB, free: 8.836 MB / 0.9825 GB Notification: Performance of Templates: time 0.003437/1.001, allocations: 0.6465 MB / 1.285 GB, free: 8.195 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.199612327385694]