Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001683/0.001683, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002242/0.002242, allocations: 212.2 kB / 23.03 MB, free: 4.863 MB / 14.72 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.146/3.146, allocations: 0.49 GB / 0.7959 GB, free: 35.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 64.62 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4008, allocations: 176.1 MB / 1.327 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005941/0.4068, allocations: 3.236 MB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.4069, allocations: 51.81 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.054e-05/0.4069, allocations: 0 / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.407, allocations: 11.92 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/0.4071, allocations: 11.92 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.4077, allocations: 191.2 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.715e-05/0.4078, allocations: 39.91 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.724e-05/0.4079, allocations: 0 / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.173e-05/0.4079, allocations: 15.92 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.408, allocations: 19.91 kB / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.408, allocations: 0 / 1.331 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003071/0.4083, allocations: 135.6 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.4084, allocations: 8 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.074e-05/0.4084, allocations: 4 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.4086, allocations: 127.6 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4087, allocations: 0 / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4087, allocations: 7.938 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4087, allocations: 0 / 1.331 GB, free: 13.28 MB / 1.029 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.0004117/0.4091, allocations: 274.2 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4091, allocations: 8.031 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.187e-05/0.4092, allocations: 4.938 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4093, allocations: 106.5 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.651e-05/0.4094, allocations: 55.97 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.4094, allocations: 384 / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.4096, allocations: 71.27 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.4096, allocations: 0 / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.4096, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.4096, allocations: 4 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.378e-05/0.4096, allocations: 15.98 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.4102, allocations: 240.5 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.314e-05/0.4102, allocations: 26.5 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.827e-05/0.4103, allocations: 8.844 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.505e-05/0.4103, allocations: 32.05 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.4104, allocations: 38.48 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4104, allocations: 0 / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.4105, allocations: 41.66 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.4106, allocations: 51.41 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.4107, allocations: 105.8 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.4107, allocations: 25.7 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.913e-05/0.4108, allocations: 88.03 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-06/0.4108, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.4108, allocations: 17.72 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000199/0.411, allocations: 322.8 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.411, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.136e-05/0.4111, allocations: 25.66 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.487e-05/0.4111, allocations: 21.83 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.4111, allocations: 0 / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.332e-05/0.4112, allocations: 49.64 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.4112, allocations: 4 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.4112, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.4112, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.584e-05/0.4113, allocations: 7.984 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4113, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.4113, allocations: 4.016 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4113, allocations: 8 kB / 1.332 GB, free: 11.45 MB / 1.029 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 8.794e-05/0.4114, allocations: 114.3 kB / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.4114, allocations: 0 / 1.333 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.4116, allocations: 123.3 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/0.4117, allocations: 192.2 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.667e-05/0.4118, allocations: 180.2 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001924/0.412, allocations: 176.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.4123, allocations: 364.8 kB / 1.334 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.38e-05/0.4123, allocations: 112.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.4124, allocations: 108.9 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/0.4125, allocations: 184.2 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.4126, allocations: 180.3 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000111/0.4127, allocations: 176.3 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.431e-05/0.4128, allocations: 180.2 kB / 1.334 GB, free: 9.277 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.413, allocations: 315.7 kB / 1.335 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.173e-05/0.4131, allocations: 101 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.4133, allocations: 188.2 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.4135, allocations: 108.9 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.4136, allocations: 180.3 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4137, allocations: 112.9 kB / 1.335 GB, free: 8.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.262e-05/0.4137, allocations: 83.28 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4137, allocations: 0 / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003564/0.4141, allocations: 35.86 kB / 1.336 GB, free: 8.117 MB / 1.029 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.0002816/0.4144, allocations: 234.4 kB / 1.336 GB, free: 7.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.602e-05/0.4144, allocations: 4 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4144, allocations: 0 / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.98e-06/0.4145, allocations: 7.938 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.415, allocations: 468.4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000439/0.4154, allocations: 203.8 kB / 1.336 GB, free: 7.172 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.041e-05/0.4155, allocations: 59.34 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.4155, allocations: 11.56 kB / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of SimCode: time 2.51e-07/0.4155, allocations: 0 / 1.337 GB, free: 7.082 MB / 1.029 GB Notification: Performance of Templates: time 0.003127/0.4187, allocations: 1.201 MB / 1.338 GB, free: 5.895 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 11.241593223065138]