Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001397/0.001397, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.00133/0.00133, allocations: 186 kB / 20.78 MB, free: 1.547 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.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.661/2.661, allocations: 443.5 MB / 0.7304 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.059 GB, free: 2.562 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3392, allocations: 160.7 MB / 1.216 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006026/0.3452, allocations: 3.784 MB / 1.22 GB, free: 13.72 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.3454, allocations: 159.5 kB / 1.22 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.3455, allocations: 0 / 1.22 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.3456, allocations: 0 / 1.22 GB, free: 13.56 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.662e-05/0.3457, allocations: 15.86 kB / 1.22 GB, free: 13.55 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.346, allocations: 91.62 kB / 1.22 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3461, allocations: 31.91 kB / 1.22 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.3462, allocations: 0 / 1.22 GB, free: 13.43 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 4.785e-05/0.3462, allocations: 19.92 kB / 1.22 GB, free: 13.41 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.055e-05/0.3463, allocations: 11.97 kB / 1.22 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3463, allocations: 7.938 kB / 1.22 GB, free: 13.39 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.3469, allocations: 195.4 kB / 1.22 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.858e-05/0.3469, allocations: 11.98 kB / 1.22 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.347, allocations: 4 kB / 1.22 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001424/0.3471, allocations: 51.77 kB / 1.22 GB, free: 13.13 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3471, allocations: 4 kB / 1.22 GB, free: 13.12 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3471, allocations: 0 / 1.22 GB, free: 13.12 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3471, allocations: 0 / 1.22 GB, free: 13.12 MB / 1.014 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.0004577/0.3476, allocations: 331.5 kB / 1.221 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.3476, allocations: 8.031 kB / 1.221 GB, free: 12.75 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.3476, allocations: 4.938 kB / 1.221 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.3478, allocations: 164.3 kB / 1.221 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.3478, allocations: 30.25 kB / 1.221 GB, free: 12.51 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.3479, allocations: 12.3 kB / 1.221 GB, free: 12.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.348, allocations: 49.62 kB / 1.221 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.348, allocations: 0 / 1.221 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.348, allocations: 0 / 1.221 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.348, allocations: 0 / 1.221 GB, free: 12.44 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.303e-05/0.3481, allocations: 15.98 kB / 1.221 GB, free: 12.43 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.3486, allocations: 338 kB / 1.221 GB, free: 12.03 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 4.925e-05/0.3486, allocations: 26.52 kB / 1.221 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.3487, allocations: 8.859 kB / 1.221 GB, free: 11.98 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.3488, allocations: 81.17 kB / 1.221 GB, free: 11.88 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.3488, allocations: 38.56 kB / 1.221 GB, free: 11.84 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 1.021e-06/0.3488, allocations: 0 / 1.221 GB, free: 11.84 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.0001533/0.349, allocations: 33.69 kB / 1.221 GB, free: 11.8 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.349, allocations: 51.53 kB / 1.222 GB, free: 11.73 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3491, allocations: 117.7 kB / 1.222 GB, free: 11.61 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3491, allocations: 25.7 kB / 1.222 GB, free: 11.58 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.3492, allocations: 84.09 kB / 1.222 GB, free: 11.49 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 8.236e-06/0.3492, allocations: 4 kB / 1.222 GB, free: 11.49 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.3492, allocations: 21.67 kB / 1.222 GB, free: 11.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.3494, allocations: 314.8 kB / 1.222 GB, free: 11.14 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.843e-05/0.3495, allocations: 3.984 kB / 1.222 GB, free: 11.14 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.19e-05/0.3495, allocations: 21.72 kB / 1.222 GB, free: 11.11 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.3495, allocations: 21.72 kB / 1.222 GB, free: 11.09 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3495, allocations: 0 / 1.222 GB, free: 11.09 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.095e-05/0.3496, allocations: 45.62 kB / 1.222 GB, free: 11.04 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3496, allocations: 8 kB / 1.222 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3496, allocations: 0 / 1.222 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.3496, allocations: 0 / 1.222 GB, free: 11.03 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.003e-05/0.3497, allocations: 12.05 kB / 1.222 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3497, allocations: 0 / 1.222 GB, free: 11.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.996e-05/0.3497, allocations: 8 kB / 1.222 GB, free: 11.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3497, allocations: 0 / 1.222 GB, free: 11.01 MB / 1.014 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.768e-05/0.3498, allocations: 121.7 kB / 1.222 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.3499, allocations: 0 / 1.222 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/0.35, allocations: 120.8 kB / 1.222 GB, free: 10.76 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-05/0.3501, allocations: 184.3 kB / 1.223 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.654e-05/0.3501, allocations: 184.2 kB / 1.223 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.49e-05/0.3502, allocations: 180.3 kB / 1.223 GB, free: 10.2 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3505, allocations: 409.1 kB / 1.223 GB, free: 9.742 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.957e-05/0.3506, allocations: 105 kB / 1.223 GB, free: 9.633 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.3506, allocations: 105 kB / 1.224 GB, free: 9.523 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.865e-05/0.3507, allocations: 184.2 kB / 1.224 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.3508, allocations: 176.3 kB / 1.224 GB, free: 9.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-05/0.3509, allocations: 184.2 kB / 1.224 GB, free: 8.969 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.3e-05/0.351, allocations: 176.3 kB / 1.224 GB, free: 8.789 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002072/0.3512, allocations: 319.9 kB / 1.224 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3513, allocations: 178.1 kB / 1.225 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3514, allocations: 188.2 kB / 1.225 GB, free: 8.062 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.3516, allocations: 105 kB / 1.225 GB, free: 7.953 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.872e-05/0.3517, allocations: 188.2 kB / 1.225 GB, free: 7.762 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.704e-05/0.3517, allocations: 108.9 kB / 1.225 GB, free: 7.648 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.24e-05/0.3518, allocations: 91.27 kB / 1.225 GB, free: 7.559 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3518, allocations: 0 / 1.225 GB, free: 7.559 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002854/0.3521, allocations: 15.94 kB / 1.225 GB, free: 7.543 MB / 1.014 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.0003227/0.3524, allocations: 202.4 kB / 1.226 GB, free: 7.336 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.3525, allocations: 12 kB / 1.226 GB, free: 7.324 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3525, allocations: 4.062 kB / 1.226 GB, free: 7.32 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.3525, allocations: 4 kB / 1.226 GB, free: 7.316 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.353, allocations: 457.1 kB / 1.226 GB, free: 6.867 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003323/0.3533, allocations: 185.8 kB / 1.226 GB, free: 6.656 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.3537, allocations: 0.6807 MB / 1.227 GB, free: 5.949 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.359e-05/0.3537, allocations: 4 kB / 1.227 GB, free: 5.945 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.3537, allocations: 11.44 kB / 1.227 GB, free: 5.934 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/0.3537, allocations: 0 / 1.227 GB, free: 5.934 MB / 1.014 GB Notification: Performance of Templates: time 0.003284/0.357, allocations: 0.6467 MB / 1.227 GB, free: 5.297 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.36799431219697]