Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0008382/0.0008382, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.00207, 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.0006878/0.0006878, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009881/0.001676, 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.9318/0.9318, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0947/1.026, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.837/1.837, allocations: 378.4 MB / 0.6079 GB, free: 7.727 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5038/2.34, allocations: 123.3 MB / 0.7283 GB, free: 5.762 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 0.7296 GB, free: 4.465 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.708e-05/1.844e-05, allocations: 4.25 kB / 0.7296 GB, free: 4.461 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003776/0.003795, allocations: 3.922 MB / 0.7335 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001276/0.003923, allocations: 157.2 kB / 0.7336 GB, free: 428 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.577e-05/0.003938, allocations: 0.5938 kB / 0.7336 GB, free: 428 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.025e-05/0.003989, allocations: 4.812 kB / 0.7336 GB, free: 424 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.07e-05/0.004039, allocations: 20.19 kB / 0.7336 GB, free: 408 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.004217, allocations: 77.34 kB / 0.7337 GB, free: 332 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.971e-05/0.004296, allocations: 31.86 kB / 0.7337 GB, free: 300 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.004331, allocations: 8.703 kB / 0.7337 GB, free: 292 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.958e-05/0.004391, allocations: 28.44 kB / 0.7338 GB, free: 264 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.507e-05/0.004446, allocations: 7.938 kB / 0.7338 GB, free: 256 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.06e-05/0.004457, allocations: 4.938 kB / 0.7338 GB, free: 252 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000359/0.004816, allocations: 207.8 kB / 0.734 GB, free: 48 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.004844, allocations: 4 kB / 0.734 GB, free: 44 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.214e-05/0.004857, allocations: 4.594 kB / 0.734 GB, free: 40 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001125/0.004969, allocations: 61.03 kB / 0.7341 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/0.004979, allocations: 3.984 kB / 0.7341 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.12e-07/0.00498, allocations: 0 / 0.7341 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.004989, allocations: 0 / 0.7341 GB, free: 15.97 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.0002732/0.005262, allocations: 241.4 kB / 0.7343 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.747e-05/0.005289, allocations: 8.031 kB / 0.7343 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.752e-05/0.005317, allocations: 5.562 kB / 0.7343 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.715e-05/0.005384, allocations: 110.5 kB / 0.7344 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.005425, allocations: 51.97 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.005435, allocations: 0.9688 kB / 0.7345 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.005528, allocations: 84.59 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.005534, allocations: 4.125 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005541, allocations: 3.938 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.818e-05/0.00556, allocations: 0.9062 kB / 0.7345 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.005576, allocations: 7.984 kB / 0.7346 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00021/0.005786, allocations: 163.2 kB / 0.7347 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.545e-05/0.005811, allocations: 22.62 kB / 0.7347 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.005e-06/0.005819, allocations: 8.859 kB / 0.7347 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.005845, allocations: 9.062 kB / 0.7347 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.005865, allocations: 42.44 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.005866, allocations: 0.5625 kB / 0.7348 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.099e-05/0.005937, allocations: 31.45 kB / 0.7348 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.005957, allocations: 51.41 kB / 0.7349 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.018e-05/0.006007, allocations: 106.7 kB / 0.735 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.006017, allocations: 25.7 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.006049, allocations: 96.02 kB / 0.7351 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.518e-06/0.006053, allocations: 5.219 kB / 0.7351 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.006074, allocations: 17.7 kB / 0.7351 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.405e-05/0.006138, allocations: 314.8 kB / 0.7354 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.27e-06/0.006143, allocations: 4.75 kB / 0.7354 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.469e-05/0.006158, allocations: 17.66 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.006183, allocations: 25.86 kB / 0.7355 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.006184, allocations: 4 kB / 0.7355 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.849e-05/0.006223, allocations: 42.69 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.006233, allocations: 9.062 kB / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.006236, allocations: 0 / 0.7355 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.006244, allocations: 4 kB / 0.7355 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.101e-05/0.006275, allocations: 9.031 kB / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.515e-06/0.006277, allocations: 0 / 0.7355 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.434e-05/0.006291, allocations: 11.95 kB / 0.7355 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.006297, allocations: 0.9375 kB / 0.7355 GB, free: 14.29 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.386e-05/0.006341, allocations: 116.7 kB / 0.7356 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.165e-05/0.006353, allocations: 5.062 kB / 0.7356 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.00642, allocations: 116.9 kB / 0.7358 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.633e-05/0.006457, allocations: 183 kB / 0.7359 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-05/0.006495, allocations: 184.2 kB / 0.7361 GB, free: 13.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-05/0.006531, allocations: 184.3 kB / 0.7363 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.006643, allocations: 313.5 kB / 0.7366 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.197e-05/0.006665, allocations: 104.9 kB / 0.7367 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.006687, allocations: 105 kB / 0.7368 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.691e-05/0.006714, allocations: 108.9 kB / 0.7369 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.513e-05/0.006749, allocations: 176.3 kB / 0.7371 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.006788, allocations: 186.7 kB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.602e-05/0.006824, allocations: 184.2 kB / 0.7374 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-05/0.006863, allocations: 184.2 kB / 0.7376 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.452e-05/0.006947, allocations: 304 kB / 0.7379 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/0.006993, allocations: 184.2 kB / 0.738 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.007073, allocations: 112.9 kB / 0.7382 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.007109, allocations: 178.5 kB / 0.7383 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.007137, allocations: 116.9 kB / 0.7384 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.495e-05/0.007152, allocations: 12.84 kB / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.007152, allocations: 0 / 0.7385 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000125/0.007277, allocations: 15.94 kB / 0.7385 GB, free: 11.12 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.0001118/0.007389, allocations: 176.1 kB / 0.7386 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.072e-05/0.00743, allocations: 9.734 kB / 0.7386 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.007434, allocations: 0 / 0.7386 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.004e-06/0.007436, allocations: 6.344 kB / 0.7386 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.007663, allocations: 0.5108 MB / 0.7391 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000607/0.00827, allocations: 182.9 kB / 0.7393 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.722e-05/0.008297, allocations: 61.64 kB / 0.7394 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.204e-05/0.008319, allocations: 7.25 kB / 0.7394 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.39e-05/0.008373, allocations: 63.34 kB / 0.7394 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of SimCode: time 4.91e-07/0.008373, allocations: 1.906 kB / 0.7395 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of Templates: time 0.001905/0.01028, allocations: 0.7893 MB / 0.7402 GB, free: 9.297 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion/Buildings_12_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.7765434784814715]