Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008107/0.0008107, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007966/0.0007966, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8513/0.8513, allocations: 177.1 MB / 203.5 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.724/1.724, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.827e-05, allocations: 4.953 kB / 1.001 GB, free: 13.02 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.00318/0.003199, allocations: 3.221 MB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 6.614e-05/0.003265, allocations: 51.73 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.208e-05/0.003287, allocations: 0 / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.003389, allocations: 4 kB / 1.004 GB, free: 9.723 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.071e-05/0.00346, allocations: 23.84 kB / 1.004 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004184/0.003878, allocations: 191.1 kB / 1.004 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.463e-05/0.003953, allocations: 39.78 kB / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.003986, allocations: 0 / 1.004 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.004041, allocations: 19.97 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.465e-05/0.004106, allocations: 15.98 kB / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.004117, allocations: 0 / 1.004 GB, free: 9.438 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.004323, allocations: 139.5 kB / 1.005 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.426e-05/0.004367, allocations: 3.984 kB / 1.005 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.879e-05/0.004386, allocations: 15.98 kB / 1.005 GB, free: 9.281 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001826/0.004569, allocations: 119.7 kB / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.004571, allocations: 0 / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004572, allocations: 0 / 1.005 GB, free: 9.164 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.004576, allocations: 3.984 kB / 1.005 GB, free: 9.16 MB / 0.9636 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.0003073/0.004884, allocations: 270.2 kB / 1.005 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.004916, allocations: 20.69 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.473e-05/0.004951, allocations: 8.891 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.005029, allocations: 105.8 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/0.005083, allocations: 51.97 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.565e-06/0.005091, allocations: 384 / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.005202, allocations: 79.88 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.00521, allocations: 192 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.005221, allocations: 7.922 kB / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.005236, allocations: 0 / 1.005 GB, free: 8.551 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.336e-05/0.005269, allocations: 11.98 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.005642, allocations: 248.5 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 3.331e-05/0.005675, allocations: 18.52 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.319e-05/0.005688, allocations: 8.797 kB / 1.005 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.292e-05/0.005741, allocations: 40.02 kB / 1.005 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.00576, allocations: 34.56 kB / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.005761, allocations: 0 / 1.006 GB, free: 8.145 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001168/0.005878, allocations: 29.7 kB / 1.006 GB, free: 8.109 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.005905, allocations: 51.41 kB / 1.006 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.17e-05/0.005967, allocations: 105.8 kB / 1.006 GB, free: 7.934 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.005978, allocations: 29.83 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.006014, allocations: 88.09 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.02e-05/0.006024, allocations: 7.953 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.006047, allocations: 25.58 kB / 1.006 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.006116, allocations: 310.8 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.234e-05/0.006129, allocations: 8 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.761e-05/0.006146, allocations: 13.72 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.006173, allocations: 21.7 kB / 1.006 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006174, allocations: 4 kB / 1.006 GB, free: 7.398 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.006e-05/0.006224, allocations: 53.56 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.006236, allocations: 5.562 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.00624, allocations: 3.938 kB / 1.006 GB, free: 7.332 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.006251, allocations: 4 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-05/0.006286, allocations: 4 kB / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.006291, allocations: 0 / 1.006 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.278e-05/0.006303, allocations: 8 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.006312, allocations: 4 kB / 1.006 GB, free: 7.312 MB / 0.9636 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.02e-05/0.006362, allocations: 109.8 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.006379, allocations: 15.95 kB / 1.006 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.346e-05/0.006462, allocations: 124.9 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.006499, allocations: 176.3 kB / 1.007 GB, free: 6.867 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.041e-05/0.00654, allocations: 180.2 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.799e-05/0.006578, allocations: 184.2 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.006699, allocations: 352.9 kB / 1.007 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/0.006725, allocations: 104.9 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.006746, allocations: 105 kB / 1.008 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-05/0.006786, allocations: 184.1 kB / 1.008 GB, free: 5.707 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.877e-05/0.006825, allocations: 180.3 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-05/0.006864, allocations: 184.2 kB / 1.008 GB, free: 5.336 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.404e-05/0.006908, allocations: 184.3 kB / 1.008 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.831e-05/0.006997, allocations: 307.8 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.007025, allocations: 104.9 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.791e-05/0.007073, allocations: 184.2 kB / 1.009 GB, free: 4.527 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.007166, allocations: 113 kB / 1.009 GB, free: 4.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.121e-05/0.007207, allocations: 176.3 kB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.007233, allocations: 104.9 kB / 1.009 GB, free: 4.121 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.196e-05/0.007265, allocations: 87.27 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007265, allocations: 0 / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001866/0.007452, allocations: 39.88 kB / 1.009 GB, free: 3.996 MB / 0.9636 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.0001867/0.007638, allocations: 236.3 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.637e-05/0.007695, allocations: 19.98 kB / 1.01 GB, free: 3.742 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007696, allocations: 3.938 kB / 1.01 GB, free: 3.738 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.007698, allocations: 3.938 kB / 1.01 GB, free: 3.734 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.007967, allocations: 455.7 kB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.008176, allocations: 205.8 kB / 1.01 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.008222, allocations: 55.36 kB / 1.01 GB, free: 2.977 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.816e-05/0.00824, allocations: 12.5 kB / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of SimCode: time 3.51e-07/0.008241, allocations: 0 / 1.01 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of Templates: time 0.001836/0.01008, allocations: 1.218 MB / 1.011 GB, free: 1.758 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.4716955572366714]