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.0007865/0.0007865, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001183/0.00197, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001518/0.001518, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001627/0.003145, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9434/0.9434, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08927/1.033, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.434/2.434, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2759/2.71, allocations: 146 MB / 0.8176 GB, free: 3.828 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.372e-06/1.372e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.343e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003057/0.00307, allocations: 3.527 MB / 0.8224 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 6.65e-05/0.003137, allocations: 51.8 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.817e-05/0.003155, allocations: 3.938 kB / 0.8224 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 5.429e-05/0.003209, allocations: 7.922 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.741e-05/0.003257, allocations: 8 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.003599, allocations: 219 kB / 0.8227 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.003671, allocations: 35.84 kB / 0.8227 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.268e-05/0.003704, allocations: 11.98 kB / 0.8227 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.56e-05/0.003759, allocations: 19.92 kB / 0.8227 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.839e-05/0.003818, allocations: 11.98 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.003829, allocations: 4 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001932/0.004022, allocations: 147.5 kB / 0.8229 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.533e-05/0.004058, allocations: 4 kB / 0.8229 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.004071, allocations: 4 kB / 0.8229 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001677/0.004239, allocations: 115.6 kB / 0.823 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.00425, allocations: 4 kB / 0.823 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4.21e-07/0.004251, allocations: 0 / 0.823 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.473e-05/0.004265, allocations: 0 / 0.823 GB, free: 14.32 MB / 0.8073 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.0003249/0.00459, allocations: 260.5 kB / 0.8232 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.757e-05/0.004618, allocations: 12.03 kB / 0.8233 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.004649, allocations: 8.875 kB / 0.8233 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.572e-05/0.004724, allocations: 109.8 kB / 0.8234 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.004768, allocations: 55.97 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.00478, allocations: 4.375 kB / 0.8234 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.856e-05/0.004878, allocations: 83.47 kB / 0.8235 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.004885, allocations: 192 / 0.8235 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-06/0.004893, allocations: 3.938 kB / 0.8235 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.004913, allocations: 0 / 0.8235 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.652e-05/0.00493, allocations: 4 kB / 0.8235 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.005225, allocations: 201.9 kB / 0.8237 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.44e-05/0.00526, allocations: 26.56 kB / 0.8237 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.526e-06/0.005268, allocations: 8.797 kB / 0.8237 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.00532, allocations: 35.97 kB / 0.8238 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.044e-05/0.00534, allocations: 38.5 kB / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.005341, allocations: 0 / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 7.902e-05/0.00542, allocations: 33.64 kB / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/0.00544, allocations: 51.41 kB / 0.8239 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.048e-05/0.00549, allocations: 106.7 kB / 0.824 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.005499, allocations: 33.83 kB / 0.824 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.005532, allocations: 88.08 kB / 0.8241 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.076e-06/0.005536, allocations: 0 / 0.8241 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/0.005556, allocations: 17.7 kB / 0.8241 GB, free: 13 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.65e-05/0.005623, allocations: 314.8 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-06/0.005628, allocations: 0 / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.005774, allocations: 13.72 kB / 0.8244 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.488e-05/0.005798, allocations: 32.45 kB / 0.8245 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.0058, allocations: 0 / 0.8245 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.233e-05/0.005843, allocations: 49.62 kB / 0.8245 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.005854, allocations: 7.938 kB / 0.8245 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.005858, allocations: 4 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005869, allocations: 0 / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.235e-05/0.005902, allocations: 4 kB / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005904, allocations: 0 / 0.8245 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.227e-05/0.005917, allocations: 7.953 kB / 0.8245 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.005924, allocations: 0 / 0.8245 GB, free: 12.54 MB / 0.8073 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 4.369e-05/0.005967, allocations: 116.7 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.00598, allocations: 8 kB / 0.8247 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.063e-05/0.00605, allocations: 121 kB / 0.8248 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.611e-05/0.006087, allocations: 184.2 kB / 0.8249 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.562e-05/0.006122, allocations: 184.3 kB / 0.8251 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.553e-05/0.006158, allocations: 180.2 kB / 0.8253 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.006271, allocations: 321.4 kB / 0.8256 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-05/0.006292, allocations: 105 kB / 0.8257 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.006312, allocations: 104.9 kB / 0.8258 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.524e-05/0.006337, allocations: 112.9 kB / 0.8259 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.431e-05/0.006372, allocations: 184.2 kB / 0.8261 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.006411, allocations: 188.2 kB / 0.8263 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.434e-05/0.006445, allocations: 184.2 kB / 0.8264 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.222e-05/0.006477, allocations: 176.5 kB / 0.8266 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.084e-05/0.006558, allocations: 303.8 kB / 0.8269 GB, free: 9.984 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.544e-05/0.006604, allocations: 184.2 kB / 0.8271 GB, free: 9.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.069e-05/0.006694, allocations: 112.9 kB / 0.8272 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.006739, allocations: 180.2 kB / 0.8274 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.006763, allocations: 105 kB / 0.8275 GB, free: 9.387 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.528e-05/0.006778, allocations: 12.84 kB / 0.8275 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.006778, allocations: 0 / 0.8275 GB, free: 9.371 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000153/0.006931, allocations: 35.88 kB / 0.8275 GB, free: 9.336 MB / 0.8073 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.0002039/0.007135, allocations: 215.5 kB / 0.8277 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.619e-05/0.007191, allocations: 12.86 kB / 0.8277 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.007195, allocations: 192 / 0.8277 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.007198, allocations: 4 kB / 0.8277 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.007461, allocations: 0.5147 MB / 0.8282 GB, free: 8.562 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006965/0.008157, allocations: 199 kB / 0.8284 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.489e-05/0.008192, allocations: 55.36 kB / 0.8285 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.488e-05/0.008217, allocations: 3.984 kB / 0.8285 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.868e-05/0.008276, allocations: 63.36 kB / 0.8285 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of SimCode: time 7.82e-07/0.008276, allocations: 0 / 0.8285 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of Templates: time 0.002767/0.01104, allocations: 1.377 MB / 0.8299 GB, free: 6.875 MB / 0.8073 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.065738473087549]