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.001796/0.001796, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.00203/0.00203, allocations: 208 kB / 22.99 MB, free: 4.984 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.591/1.591, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] 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.002086/0.002086, allocations: 67.27 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4308, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005668/0.4365, allocations: 3.23 MB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001287/0.4366, allocations: 51.86 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.44e-05/0.4367, allocations: 0 / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.4368, allocations: 7.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.787e-05/0.4369, allocations: 15.91 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006699/0.4376, allocations: 183.3 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.4377, allocations: 35.84 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.108e-05/0.4377, allocations: 3.984 kB / 1.331 GB, free: 13.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.4377, allocations: 16 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.296e-05/0.4378, allocations: 19.91 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4378, allocations: 7.938 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.4381, allocations: 135.6 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.762e-05/0.4382, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.098e-05/0.4382, allocations: 15.92 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002667/0.4385, allocations: 119.7 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.4385, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4385, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.4385, allocations: 0 / 1.331 GB, free: 13.18 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.0004801/0.439, allocations: 282.1 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.439, allocations: 8.031 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.4391, allocations: 0.9375 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4392, allocations: 106.5 kB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-05/0.4393, allocations: 55.91 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-06/0.4393, allocations: 384 / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4394, allocations: 79.31 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4394, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4395, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.4395, allocations: 0 / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.052e-05/0.4395, allocations: 23.98 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000513/0.44, allocations: 240.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 4.398e-05/0.4401, allocations: 14.58 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.4401, allocations: 12.92 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001002/0.4402, allocations: 31.97 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.4402, allocations: 30.56 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4402, allocations: 0 / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001529/0.4404, allocations: 45.59 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.4404, allocations: 51.41 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4405, allocations: 106 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.4406, allocations: 25.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.4406, allocations: 92.03 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-06/0.4406, allocations: 0 / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.4407, allocations: 25.64 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4408, allocations: 314.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.637e-05/0.4408, allocations: 4 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.794e-05/0.4409, allocations: 17.7 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.115e-05/0.4409, allocations: 25.66 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.4409, allocations: 4 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.964e-05/0.441, allocations: 45.69 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.441, allocations: 5.719 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.441, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.441, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.819e-05/0.4411, allocations: 7.938 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.4411, allocations: 3.938 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.4411, allocations: 7.953 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.4411, allocations: 0 / 1.332 GB, free: 11.34 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 9.931e-05/0.4412, allocations: 126.4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.4412, allocations: 0 / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.4414, allocations: 113.3 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.4414, allocations: 184.2 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.106e-05/0.4415, allocations: 184.2 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.846e-05/0.4416, allocations: 188.3 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4419, allocations: 360.8 kB / 1.334 GB, free: 10.13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.934e-05/0.4419, allocations: 105 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.442, allocations: 104.9 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.4421, allocations: 184.3 kB / 1.334 GB, free: 9.723 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-05/0.4422, allocations: 184.2 kB / 1.334 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/0.4423, allocations: 176.3 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.469e-05/0.4424, allocations: 184.2 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.4426, allocations: 311.7 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.4427, allocations: 108.9 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.4428, allocations: 176.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.443, allocations: 109 kB / 1.335 GB, free: 8.434 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.633e-05/0.4431, allocations: 184.2 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.4432, allocations: 109 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.808e-05/0.4432, allocations: 83.27 kB / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4432, allocations: 0 / 1.335 GB, free: 8.051 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003154/0.4435, allocations: 39.88 kB / 1.335 GB, free: 8.012 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.000316/0.4439, allocations: 222.4 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.505e-05/0.4439, allocations: 23.92 kB / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4439, allocations: 0 / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.4439, allocations: 0 / 1.336 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.4445, allocations: 459.6 kB / 1.336 GB, free: 7.305 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.4448, allocations: 197.9 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.312e-05/0.4448, allocations: 55.36 kB / 1.336 GB, free: 7.012 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.941e-05/0.4449, allocations: 14.08 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.275e-05/0.4449, allocations: 11.44 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4449, allocations: 0 / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of Templates: time 0.004185/0.4491, allocations: 1.266 MB / 1.338 GB, free: 5.777 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 -s cvode -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: 9.471193913996103]