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.0007653/0.0007653, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001954/0.002719, allocations: 449.8 kB / 10.44 MB, free: 252 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.001219/0.001219, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001877/0.003096, allocations: 479.5 kB / 11.82 MB, free: 2.344 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 1.027/1.027, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08687/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.777/1.777, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5126/2.29, allocations: 123.3 MB / 0.7283 GB, free: 5.711 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.834e-06/1.834e-06, allocations: 0 / 0.7297 GB, free: 4.395 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.715e-05, allocations: 4.422 kB / 0.7297 GB, free: 4.391 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004324/0.004341, allocations: 3.524 MB / 0.7331 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 8.912e-05/0.00443, allocations: 52.36 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.874e-05/0.004449, allocations: 1.438 kB / 0.7331 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.755e-05/0.004507, allocations: 12.69 kB / 0.7332 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.388e-05/0.004561, allocations: 7.484 kB / 0.7332 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004377/0.004998, allocations: 224 kB / 0.7334 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.72e-05/0.005095, allocations: 35.86 kB / 0.7334 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.005138, allocations: 0 / 0.7334 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.802e-05/0.005206, allocations: 23.97 kB / 0.7334 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.651e-05/0.005273, allocations: 16.58 kB / 0.7335 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.005284, allocations: 1.312 kB / 0.7335 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002456/0.005529, allocations: 139.5 kB / 0.7336 GB, free: 412 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.382e-05/0.005583, allocations: 19.86 kB / 0.7336 GB, free: 392 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.351e-05/0.005607, allocations: 5.594 kB / 0.7336 GB, free: 388 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.005813, allocations: 103.8 kB / 0.7337 GB, free: 284 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.359e-05/0.005827, allocations: 0 / 0.7337 GB, free: 284 kB / 0.698 GB Notification: Performance of FrontEnd: time 6.11e-07/0.005827, allocations: 0 / 0.7337 GB, free: 284 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.235e-05/0.00584, allocations: 0 / 0.7337 GB, free: 284 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.0003905/0.00623, allocations: 265.8 kB / 0.734 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.006266, allocations: 15.97 kB / 0.734 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.006301, allocations: 4.922 kB / 0.734 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.39e-05/0.006395, allocations: 106.5 kB / 0.7341 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.885e-05/0.006454, allocations: 51.97 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.495e-05/0.006469, allocations: 5.5 kB / 0.7341 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.006591, allocations: 75.48 kB / 0.7342 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.006597, allocations: 1.156 kB / 0.7342 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.006606, allocations: 3.938 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.68e-05/0.006633, allocations: 4 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.437e-05/0.006657, allocations: 16.7 kB / 0.7342 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.006981, allocations: 194.5 kB / 0.7344 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.792e-05/0.007009, allocations: 14.58 kB / 0.7344 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-06/0.007019, allocations: 9.766 kB / 0.7344 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.423e-05/0.007073, allocations: 43.97 kB / 0.7345 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.007092, allocations: 35 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.007093, allocations: 1.562 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.958e-05/0.007172, allocations: 37.62 kB / 0.7346 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.262e-05/0.007195, allocations: 55.41 kB / 0.7346 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.007248, allocations: 108.7 kB / 0.7347 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.007259, allocations: 25.7 kB / 0.7347 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.566e-05/0.007295, allocations: 88.08 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-06/0.007298, allocations: 4 kB / 0.7348 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/0.007321, allocations: 21.7 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.007392, allocations: 310.8 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.869e-06/0.007397, allocations: 1.344 kB / 0.7351 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.443e-05/0.007411, allocations: 17.7 kB / 0.7352 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/0.007434, allocations: 25.73 kB / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007436, allocations: 0 / 0.7352 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.266e-05/0.007479, allocations: 46.88 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.00749, allocations: 7.938 kB / 0.7352 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.007498, allocations: 3.938 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.007509, allocations: 0.8438 kB / 0.7352 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.467e-05/0.007544, allocations: 11.98 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.007546, allocations: 0.5312 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.00756, allocations: 3.953 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.007568, allocations: 5.031 kB / 0.7353 GB, free: 14.51 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 4.683e-05/0.007615, allocations: 112.7 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.356e-05/0.007629, allocations: 4.844 kB / 0.7354 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.007709, allocations: 126.1 kB / 0.7355 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/0.00775, allocations: 184.3 kB / 0.7357 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-05/0.00779, allocations: 176.3 kB / 0.7358 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.995e-05/0.00783, allocations: 184.2 kB / 0.736 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/0.00795, allocations: 320.5 kB / 0.7363 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.397e-05/0.007974, allocations: 108.9 kB / 0.7364 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.007995, allocations: 101 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.008024, allocations: 101 kB / 0.7366 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.142e-05/0.008065, allocations: 184.2 kB / 0.7368 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.008108, allocations: 184.2 kB / 0.737 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.946e-05/0.008148, allocations: 184.2 kB / 0.7371 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.802e-05/0.008186, allocations: 180.3 kB / 0.7373 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.492e-05/0.008281, allocations: 304.4 kB / 0.7376 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.00833, allocations: 185 kB / 0.7378 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.639e-05/0.008416, allocations: 108.9 kB / 0.7379 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.123e-05/0.008467, allocations: 185.3 kB / 0.7381 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.008491, allocations: 109 kB / 0.7382 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.987e-05/0.008511, allocations: 21.45 kB / 0.7382 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.008511, allocations: 0 / 0.7382 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001635/0.008675, allocations: 33.09 kB / 0.7382 GB, free: 11.32 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.0002147/0.008889, allocations: 214 kB / 0.7384 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.426e-05/0.008954, allocations: 23.83 kB / 0.7384 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.008959, allocations: 0 / 0.7384 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.246e-06/0.008962, allocations: 4 kB / 0.7385 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.009258, allocations: 0.5036 MB / 0.7389 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006919/0.00995, allocations: 194.1 kB / 0.7391 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.801e-05/0.009978, allocations: 55.88 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.01, allocations: 5.438 kB / 0.7392 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.947e-05/0.01006, allocations: 62.61 kB / 0.7392 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 8.91e-07/0.01006, allocations: 0 / 0.7392 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.002688/0.01275, allocations: 1.359 MB / 0.7406 GB, free: 8.988 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.862393411807716]