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.004046/0.004046, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001512/0.005558, 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.001066/0.001066, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001328/0.002394, 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.9603/0.9603, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09712/1.057, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.789/1.789, allocations: 378.2 MB / 0.6076 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4837/2.273, allocations: 123.3 MB / 0.728 GB, free: 5.785 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.853e-06/1.853e-06, allocations: 0 / 0.7293 GB, free: 4.523 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.218e-05, allocations: 2.312 kB / 0.7293 GB, free: 4.52 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006656/0.006688, allocations: 4.244 MB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002339/0.006922, allocations: 153.4 kB / 0.7336 GB, free: 160 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.006946, allocations: 4 kB / 0.7336 GB, free: 156 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.197e-05/0.007028, allocations: 11.88 kB / 0.7336 GB, free: 144 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.007101, allocations: 4.703 kB / 0.7336 GB, free: 140 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003304/0.007431, allocations: 93.08 kB / 0.7337 GB, free: 48 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.007535, allocations: 36.72 kB / 0.7337 GB, free: 12 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.007582, allocations: 4 kB / 0.7337 GB, free: 8 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.007704, allocations: 21.41 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.682e-05/0.007801, allocations: 11.92 kB / 0.7338 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.007819, allocations: 4 kB / 0.7338 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000293/0.008112, allocations: 52.42 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.021e-05/0.008162, allocations: 4 kB / 0.7338 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.559e-05/0.008187, allocations: 5.781 kB / 0.7338 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.008367, allocations: 67.75 kB / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-05/0.008391, allocations: 0 / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.594e-06/0.008393, allocations: 0 / 0.7339 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.427e-05/0.008417, allocations: 0 / 0.7339 GB, free: 15.85 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.0004734/0.008891, allocations: 237.5 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.00894, allocations: 8.031 kB / 0.7341 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.008983, allocations: 5.812 kB / 0.7341 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.009101, allocations: 109.8 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.91e-05/0.009181, allocations: 52.84 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.009193, allocations: 384 / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.009348, allocations: 88.2 kB / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.009356, allocations: 192 / 0.7344 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.009367, allocations: 4.5 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.009394, allocations: 1.844 kB / 0.7344 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.45e-05/0.009428, allocations: 7.938 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.009782, allocations: 166 kB / 0.7346 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.875e-05/0.009831, allocations: 18.58 kB / 0.7346 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.009844, allocations: 4.859 kB / 0.7346 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.921e-05/0.009913, allocations: 8.969 kB / 0.7346 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.009946, allocations: 38.5 kB / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.703e-06/0.009947, allocations: 0.8125 kB / 0.7346 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001309/0.01008, allocations: 38.25 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.01011, allocations: 51.41 kB / 0.7347 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.202e-05/0.01019, allocations: 111.2 kB / 0.7348 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.01021, allocations: 30.86 kB / 0.7348 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.63e-05/0.01026, allocations: 84.09 kB / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.799e-06/0.01026, allocations: 0 / 0.7349 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.714e-05/0.0103, allocations: 22.73 kB / 0.7349 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.16e-05/0.01039, allocations: 310.8 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.0104, allocations: 11.98 kB / 0.7353 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.099e-05/0.01043, allocations: 14.22 kB / 0.7353 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.01046, allocations: 22.27 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01046, allocations: 0 / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.713e-05/0.01054, allocations: 46.84 kB / 0.7353 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.01056, allocations: 11.88 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.01057, allocations: 0 / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01058, allocations: 0 / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.548e-05/0.01063, allocations: 13.02 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.01064, allocations: 0 / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.01067, allocations: 4.516 kB / 0.7354 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01068, allocations: 4.75 kB / 0.7354 GB, free: 14.18 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 8.011e-05/0.01076, allocations: 112.7 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3e-05/0.01079, allocations: 9.312 kB / 0.7355 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.01092, allocations: 124.9 kB / 0.7356 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-05/0.01099, allocations: 184.3 kB / 0.7358 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.481e-05/0.01105, allocations: 177.1 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/0.01111, allocations: 188.2 kB / 0.7361 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001948/0.01131, allocations: 322.5 kB / 0.7364 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-05/0.01135, allocations: 104.9 kB / 0.7365 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.572e-05/0.01139, allocations: 102 kB / 0.7366 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.01143, allocations: 105 kB / 0.7367 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.236e-05/0.01149, allocations: 184.2 kB / 0.7369 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.908e-05/0.01156, allocations: 181.6 kB / 0.7371 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.867e-05/0.01162, allocations: 184.2 kB / 0.7373 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.48e-05/0.01169, allocations: 176.3 kB / 0.7374 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.01182, allocations: 307.8 kB / 0.7377 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.01189, allocations: 183 kB / 0.7379 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.01202, allocations: 112.9 kB / 0.738 GB, free: 11.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.01207, allocations: 180.2 kB / 0.7382 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.01211, allocations: 101 kB / 0.7383 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.717e-05/0.01213, allocations: 20.78 kB / 0.7383 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9e-08/0.01213, allocations: 0 / 0.7383 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002264/0.01236, allocations: 23.94 kB / 0.7383 GB, free: 10.99 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.0002067/0.01257, allocations: 169.8 kB / 0.7385 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.266e-05/0.01264, allocations: 12.84 kB / 0.7385 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.01265, allocations: 8 kB / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.01265, allocations: 0 / 0.7385 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005549/0.0132, allocations: 464.4 kB / 0.7389 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.01426, allocations: 206.8 kB / 0.7391 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.59e-05/0.01429, allocations: 55.22 kB / 0.7392 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.744e-05/0.01433, allocations: 5.375 kB / 0.7392 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.01442, allocations: 66 kB / 0.7393 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01442, allocations: 0 / 0.7393 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of Templates: time 0.003117/0.01754, allocations: 0.7728 MB / 0.74 GB, free: 9.234 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.734611357562244]