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.0008309/0.0008309, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001945, allocations: 449.7 kB / 10.37 MB, free: 328 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.0007106/0.0007106, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009526/0.001663, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9854/0.9854, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08578/1.071, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.815/1.815, allocations: 378.2 MB / 0.6076 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4882/2.303, allocations: 123.3 MB / 0.728 GB, free: 5.844 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.651e-05/1.817e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.551 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004676/0.004694, allocations: 3.521 MB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001097/0.004804, allocations: 50.22 kB / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.027e-05/0.004824, allocations: 0 / 0.7328 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.498e-05/0.004889, allocations: 12.47 kB / 0.7328 GB, free: 1 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.00495, allocations: 6.734 kB / 0.7328 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.005503, allocations: 229 kB / 0.7331 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.943e-05/0.005593, allocations: 35.86 kB / 0.7331 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.729e-05/0.00563, allocations: 3.984 kB / 0.7331 GB, free: 0.7383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.471e-05/0.005705, allocations: 19.98 kB / 0.7331 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.00578, allocations: 20.59 kB / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.319e-05/0.005793, allocations: 0 / 0.7331 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003128/0.006106, allocations: 140.4 kB / 0.7333 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.006145, allocations: 4.438 kB / 0.7333 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.006165, allocations: 8 kB / 0.7333 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.006398, allocations: 116.8 kB / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.006415, allocations: 0 / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006416, allocations: 0 / 0.7334 GB, free: 448 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.9e-05/0.006435, allocations: 0.7188 kB / 0.7334 GB, free: 448 kB / 0.698 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.0003782/0.006813, allocations: 260.5 kB / 0.7336 GB, free: 164 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/0.006847, allocations: 8.562 kB / 0.7337 GB, free: 156 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.9e-05/0.006876, allocations: 9.812 kB / 0.7337 GB, free: 148 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.022e-05/0.006966, allocations: 109.8 kB / 0.7338 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.007046, allocations: 52.84 kB / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.007057, allocations: 384 / 0.7338 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.007194, allocations: 84.86 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.007202, allocations: 192 / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.007213, allocations: 3.938 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.00724, allocations: 4 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.007265, allocations: 4.656 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.007661, allocations: 199.7 kB / 0.7341 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.517e-05/0.007696, allocations: 22.52 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.218e-05/0.007708, allocations: 4.859 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.236e-05/0.00778, allocations: 39.97 kB / 0.7342 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.007805, allocations: 39.31 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.007807, allocations: 0 / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000105/0.007912, allocations: 34.59 kB / 0.7342 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.007944, allocations: 51.41 kB / 0.7343 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.559e-05/0.00802, allocations: 115.5 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.008032, allocations: 25.7 kB / 0.7344 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.008076, allocations: 84.09 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.368e-06/0.00808, allocations: 0.7188 kB / 0.7345 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/0.008112, allocations: 22.3 kB / 0.7345 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.836e-05/0.0082, allocations: 318.8 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.833e-06/0.008207, allocations: 0.875 kB / 0.7348 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.008225, allocations: 13.72 kB / 0.7348 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.964e-05/0.008255, allocations: 25.38 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.008257, allocations: 0.5938 kB / 0.7349 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.826e-05/0.008315, allocations: 42.28 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.008328, allocations: 9.094 kB / 0.7349 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.008333, allocations: 4 kB / 0.7349 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.008342, allocations: 3.938 kB / 0.7349 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.203e-05/0.008384, allocations: 9.031 kB / 0.7349 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.008389, allocations: 3.984 kB / 0.7349 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.008409, allocations: 7.953 kB / 0.7349 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.008415, allocations: 0.5312 kB / 0.7349 GB, free: 14.68 MB / 0.7136 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.749e-05/0.008473, allocations: 126.4 kB / 0.7351 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.008494, allocations: 3.938 kB / 0.7351 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.0086, allocations: 113 kB / 0.7352 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/0.008644, allocations: 184.2 kB / 0.7353 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.343e-05/0.008688, allocations: 185.4 kB / 0.7355 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.45e-05/0.008732, allocations: 180.3 kB / 0.7357 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.008925, allocations: 321.4 kB / 0.736 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-05/0.008952, allocations: 101.7 kB / 0.7361 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.79e-05/0.00898, allocations: 105 kB / 0.7362 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.337e-05/0.009014, allocations: 109.5 kB / 0.7363 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.646e-05/0.00906, allocations: 177 kB / 0.7365 GB, free: 13.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.676e-05/0.009107, allocations: 188.1 kB / 0.7367 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-05/0.009149, allocations: 177.6 kB / 0.7368 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.622e-05/0.009195, allocations: 188.2 kB / 0.737 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.009298, allocations: 299.8 kB / 0.7373 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.009358, allocations: 188.1 kB / 0.7375 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.009475, allocations: 109.8 kB / 0.7376 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/0.009524, allocations: 180.2 kB / 0.7377 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.009607, allocations: 106.3 kB / 0.7378 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.92e-05/0.009626, allocations: 16.84 kB / 0.7379 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.009627, allocations: 0 / 0.7379 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002782/0.009905, allocations: 32.88 kB / 0.7379 GB, free: 11.48 MB / 0.7136 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.0002213/0.01013, allocations: 215.7 kB / 0.7381 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.72e-05/0.01018, allocations: 20.78 kB / 0.7381 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.01019, allocations: 4 kB / 0.7381 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.31e-07/0.01019, allocations: 3.938 kB / 0.7381 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.01048, allocations: 465.9 kB / 0.7386 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008903/0.01137, allocations: 187 kB / 0.7387 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.0114, allocations: 51.36 kB / 0.7388 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.383e-05/0.01144, allocations: 10.62 kB / 0.7388 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.01151, allocations: 67.28 kB / 0.7389 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.01151, allocations: 0 / 0.7389 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of Templates: time 0.003512/0.01502, allocations: 1.37 MB / 0.7402 GB, free: 9.203 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.819424362853169]