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.0009231/0.0009231, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001253/0.002176, 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.0007143/0.0007143, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009453/0.00166, 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.9623/0.9623, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08785/1.05, allocations: 53.66 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.846/1.846, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4574/2.304, allocations: 123.3 MB / 0.728 GB, free: 5.82 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.713e-06/1.713e-06, allocations: 0 / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063e-05/1.234e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.547 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003479/0.003491, allocations: 3.918 MB / 0.7331 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.003622, allocations: 157.1 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.512e-05/0.003637, allocations: 1.219 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 5.006e-05/0.003687, allocations: 0 / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.992e-05/0.003737, allocations: 23.78 kB / 0.7333 GB, free: 496 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.00392, allocations: 77.97 kB / 0.7334 GB, free: 420 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.864e-05/0.003989, allocations: 35.86 kB / 0.7334 GB, free: 384 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.335e-05/0.004022, allocations: 11.91 kB / 0.7334 GB, free: 372 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.004078, allocations: 16.8 kB / 0.7334 GB, free: 356 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.449e-05/0.004133, allocations: 8 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.201e-05/0.004145, allocations: 0.5 kB / 0.7335 GB, free: 348 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000385/0.00453, allocations: 215.8 kB / 0.7337 GB, free: 136 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.004559, allocations: 9.188 kB / 0.7337 GB, free: 128 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.004574, allocations: 4 kB / 0.7337 GB, free: 124 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.004677, allocations: 51.89 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.145e-05/0.004689, allocations: 1.75 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of FrontEnd: time 8.72e-07/0.004689, allocations: 0 / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.004701, allocations: 0 / 0.7337 GB, free: 72 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.0002734/0.004974, allocations: 240.6 kB / 0.734 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.005002, allocations: 13.25 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.422e-05/0.005026, allocations: 4.922 kB / 0.734 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.022e-05/0.005096, allocations: 109.7 kB / 0.7341 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.005141, allocations: 52.62 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.00515, allocations: 4.375 kB / 0.7341 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.524e-05/0.005245, allocations: 88.53 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-06/0.005251, allocations: 192 / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.214e-06/0.005258, allocations: 3.938 kB / 0.7342 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.726e-05/0.005275, allocations: 0.5938 kB / 0.7342 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.991e-05/0.005295, allocations: 13.23 kB / 0.7342 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.00551, allocations: 161.9 kB / 0.7344 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 2.669e-05/0.005537, allocations: 22.52 kB / 0.7344 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-06/0.005545, allocations: 10.14 kB / 0.7344 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.005573, allocations: 4.062 kB / 0.7344 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.005594, allocations: 38.5 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.005596, allocations: 1.031 kB / 0.7345 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 7.911e-05/0.005675, allocations: 33.64 kB / 0.7345 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.005699, allocations: 59.92 kB / 0.7345 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.005749, allocations: 104.1 kB / 0.7346 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.118e-06/0.005759, allocations: 25.7 kB / 0.7347 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.266e-05/0.005791, allocations: 92.02 kB / 0.7348 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.527e-06/0.005795, allocations: 0 / 0.7348 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.005818, allocations: 22.23 kB / 0.7348 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.415e-05/0.005882, allocations: 316.1 kB / 0.7351 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.48e-06/0.005887, allocations: 0 / 0.7351 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.005902, allocations: 13.72 kB / 0.7351 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.005924, allocations: 29.27 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.005926, allocations: 0.75 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.896e-05/0.005965, allocations: 46.25 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005977, allocations: 11.06 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.005981, allocations: 1.562 kB / 0.7352 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.005989, allocations: 4 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.322e-05/0.006022, allocations: 4 kB / 0.7352 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006026, allocations: 3.938 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.303e-05/0.006039, allocations: 9.203 kB / 0.7352 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.006045, allocations: 0 / 0.7352 GB, free: 14.39 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.567e-05/0.006091, allocations: 113.6 kB / 0.7353 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.006102, allocations: 7.938 kB / 0.7353 GB, free: 14.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.918e-05/0.006181, allocations: 118.1 kB / 0.7354 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/0.00622, allocations: 184.2 kB / 0.7356 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.629e-05/0.006257, allocations: 176.3 kB / 0.7358 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-05/0.006297, allocations: 191.2 kB / 0.736 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.006409, allocations: 317.4 kB / 0.7363 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/0.006435, allocations: 109 kB / 0.7364 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.006457, allocations: 104.9 kB / 0.7365 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.117e-05/0.006489, allocations: 109 kB / 0.7366 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.78e-05/0.006526, allocations: 176.3 kB / 0.7367 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.417e-05/0.006571, allocations: 188.1 kB / 0.7369 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.953e-05/0.00661, allocations: 184.2 kB / 0.7371 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.991e-05/0.00665, allocations: 183.2 kB / 0.7373 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.759e-05/0.006738, allocations: 300.1 kB / 0.7375 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/0.006787, allocations: 188.2 kB / 0.7377 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/0.006868, allocations: 112.9 kB / 0.7378 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.18e-05/0.00691, allocations: 184.2 kB / 0.738 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.006932, allocations: 101 kB / 0.7381 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.355e-05/0.006946, allocations: 16.84 kB / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.006946, allocations: 0 / 0.7381 GB, free: 11.22 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001393/0.007085, allocations: 16.69 kB / 0.7381 GB, free: 11.21 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.000113/0.007198, allocations: 172.3 kB / 0.7383 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 4.826e-05/0.007247, allocations: 18.42 kB / 0.7383 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.00725, allocations: 0 / 0.7383 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.12e-07/0.007251, allocations: 0 / 0.7383 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.007473, allocations: 474.1 kB / 0.7388 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.0081, allocations: 182.9 kB / 0.7389 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.408e-05/0.008134, allocations: 63.2 kB / 0.739 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.519e-05/0.008159, allocations: 10 kB / 0.739 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.008217, allocations: 59.34 kB / 0.7391 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.008218, allocations: 0 / 0.7391 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.002106/0.01032, allocations: 0.7905 MB / 0.7398 GB, free: 9.445 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.83316505420953]