Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007999/0.0007999, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.00193, 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.001084/0.001084, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001424/0.002508, 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 0.9643/0.9643, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08492/1.049, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.803/1.803, allocations: 378.4 MB / 0.6079 GB, free: 7.676 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5023/2.305, allocations: 123.3 MB / 0.7283 GB, free: 5.703 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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.7296 GB, free: 4.402 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.082e-05, allocations: 2.312 kB / 0.7296 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006129/0.00615, allocations: 4.234 MB / 0.7338 GB, free: 204 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003009/0.006451, allocations: 162.7 kB / 0.7339 GB, free: 44 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.137e-05/0.006472, allocations: 1.094 kB / 0.7339 GB, free: 44 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.91e-05/0.006541, allocations: 8.578 kB / 0.7339 GB, free: 36 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.388e-05/0.006605, allocations: 13.83 kB / 0.734 GB, free: 24 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.006905, allocations: 89.86 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.006992, allocations: 27.86 kB / 0.7341 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.00703, allocations: 8.672 kB / 0.7341 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.0071, allocations: 24.55 kB / 0.7341 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.108e-05/0.007172, allocations: 7.984 kB / 0.7341 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.007186, allocations: 5.094 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.007367, allocations: 55.75 kB / 0.7342 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.007407, allocations: 9 kB / 0.7342 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.636e-05/0.007424, allocations: 4 kB / 0.7342 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001291/0.007553, allocations: 63.81 kB / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.243e-05/0.007565, allocations: 1.125 kB / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.453e-06/0.007567, allocations: 0 / 0.7342 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.00758, allocations: 0 / 0.7342 GB, free: 15.73 MB / 0.7136 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.0003557/0.007936, allocations: 237.6 kB / 0.7345 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.00797, allocations: 8.031 kB / 0.7345 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.008004, allocations: 10.56 kB / 0.7345 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.008089, allocations: 109.8 kB / 0.7346 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.712e-05/0.008146, allocations: 51.97 kB / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.008161, allocations: 384 / 0.7346 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.00828, allocations: 84.34 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.008288, allocations: 192 / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.796e-06/0.008297, allocations: 3.938 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.008322, allocations: 5.047 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.008345, allocations: 4 kB / 0.7347 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002717/0.008616, allocations: 167.7 kB / 0.7349 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.333e-05/0.00865, allocations: 22.56 kB / 0.7349 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.113e-05/0.008661, allocations: 4.859 kB / 0.7349 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.537e-05/0.008736, allocations: 4.062 kB / 0.7349 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.008763, allocations: 43.69 kB / 0.735 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 2.375e-06/0.008766, allocations: 3.984 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 9.914e-05/0.008865, allocations: 38.88 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.00889, allocations: 51.41 kB / 0.735 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.685e-05/0.008957, allocations: 106.6 kB / 0.7352 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.008969, allocations: 33.64 kB / 0.7352 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.929e-05/0.009008, allocations: 89.3 kB / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-06/0.009012, allocations: 0 / 0.7353 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.009045, allocations: 17.72 kB / 0.7353 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.009124, allocations: 320.1 kB / 0.7356 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.563e-06/0.009131, allocations: 0 / 0.7356 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.98e-05/0.00915, allocations: 21.7 kB / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.791e-05/0.009178, allocations: 25.52 kB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.00918, allocations: 0.5312 kB / 0.7356 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.236e-05/0.009232, allocations: 39.25 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.009246, allocations: 7.938 kB / 0.7357 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.009252, allocations: 4 kB / 0.7357 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.009262, allocations: 0 / 0.7357 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.064e-05/0.009303, allocations: 13.14 kB / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.009305, allocations: 0 / 0.7357 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.91e-05/0.009324, allocations: 7.953 kB / 0.7357 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.009332, allocations: 0.5 kB / 0.7357 GB, free: 14.05 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 6.346e-05/0.009396, allocations: 117.4 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.009415, allocations: 3.938 kB / 0.7358 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.799e-05/0.009503, allocations: 117.7 kB / 0.7359 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-05/0.009549, allocations: 181 kB / 0.7361 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.184e-05/0.009601, allocations: 180.3 kB / 0.7363 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-05/0.009647, allocations: 185.6 kB / 0.7365 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.009803, allocations: 325.4 kB / 0.7368 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.999e-05/0.009833, allocations: 101 kB / 0.7369 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.16e-05/0.009864, allocations: 104.9 kB / 0.737 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.319e-05/0.009898, allocations: 106 kB / 0.7371 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.803e-05/0.009946, allocations: 180.2 kB / 0.7372 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.01, allocations: 188.2 kB / 0.7374 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.724e-05/0.01005, allocations: 177.2 kB / 0.7376 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.768e-05/0.01012, allocations: 180.2 kB / 0.7378 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.01026, allocations: 312.4 kB / 0.7381 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.607e-05/0.01031, allocations: 176.3 kB / 0.7382 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.01039, allocations: 111.7 kB / 0.7383 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.01043, allocations: 180.2 kB / 0.7385 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.01045, allocations: 109 kB / 0.7386 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.711e-05/0.01047, allocations: 20.78 kB / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01047, allocations: 0 / 0.7386 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001409/0.01061, allocations: 19.94 kB / 0.7386 GB, free: 10.88 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.0001314/0.01074, allocations: 174.7 kB / 0.7388 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.815e-05/0.01079, allocations: 16.78 kB / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.01079, allocations: 0 / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.01079, allocations: 320 / 0.7388 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.01109, allocations: 0.5108 MB / 0.7393 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.01174, allocations: 196.6 kB / 0.7395 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.01177, allocations: 55.22 kB / 0.7396 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.0118, allocations: 8.938 kB / 0.7396 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.181e-05/0.01186, allocations: 64 kB / 0.7396 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of SimCode: time 5.91e-07/0.01186, allocations: 0 / 0.7396 GB, free: 9.793 MB / 0.7136 GB Notification: Performance of Templates: time 0.002017/0.01388, allocations: 0.758 MB / 0.7404 GB, free: 9.07 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.698427464812994]