Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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.001324/0.001324, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.001472/0.001472, allocations: 221.6 kB / 22.99 MB, free: 4.914 MB / 14.72 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.265/3.265, allocations: 0.5107 GB / 0.8166 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 74.23 kB / 1.187 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3757, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07487/0.4505, allocations: 57.71 MB / 1.421 GB, free: 3.648 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.4717, allocations: 12.62 MB / 1.433 GB, free: 7 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.4742, allocations: 83.31 kB / 1.433 GB, free: 6.918 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.003227/0.4775, allocations: 0.9122 MB / 1.434 GB, free: 6 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.007971/0.4854, allocations: 2.589 MB / 1.437 GB, free: 3.398 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.4901, allocations: 1.644 MB / 1.438 GB, free: 1.77 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.006755/0.4969, allocations: 4.361 MB / 1.443 GB, free: 13.39 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.4991, allocations: 1.137 MB / 1.444 GB, free: 12.21 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/0.5038, allocations: 1.887 MB / 1.446 GB, free: 10.33 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.5063, allocations: 1.264 MB / 1.447 GB, free: 9.059 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.0003304/0.5066, allocations: 172 kB / 1.447 GB, free: 8.891 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/0.5097, allocations: 1.178 MB / 1.448 GB, free: 7.711 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0006182/0.5103, allocations: 0.5215 MB / 1.449 GB, free: 7.188 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.5115, allocations: 0.8127 MB / 1.449 GB, free: 6.371 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.005056/0.5166, allocations: 3.196 MB / 1.453 GB, free: 3.164 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.5166, allocations: 8 kB / 1.453 GB, free: 3.156 MB / 1.139 GB Notification: Performance of FrontEnd: time 2.575e-06/0.5166, allocations: 0 / 1.453 GB, free: 3.156 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.095e-05/0.5166, allocations: 0 / 1.453 GB, free: 3.156 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.004794/0.5214, allocations: 2.326 MB / 1.455 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.5214, allocations: 8.031 kB / 1.455 GB, free: 0.7773 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.5244, allocations: 0.5383 MB / 1.455 GB, free: 244 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.5273, allocations: 1.443 MB / 1.457 GB, free: 14.75 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.5276, allocations: 264.3 kB / 1.457 GB, free: 14.46 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/0.5278, allocations: 108 kB / 1.457 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003751/0.5315, allocations: 1.922 MB / 1.459 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.5315, allocations: 0 / 1.459 GB, free: 12.25 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.5317, allocations: 52 kB / 1.459 GB, free: 12.2 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.5317, allocations: 35.98 kB / 1.459 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004253/0.536, allocations: 1.553 MB / 1.461 GB, free: 10.62 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009073/0.545, allocations: 4.989 MB / 1.465 GB, free: 5.523 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002576/0.5476, allocations: 0.9139 MB / 1.466 GB, free: 4.598 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001792/0.5494, allocations: 0.6277 MB / 1.467 GB, free: 3.969 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.5498, allocations: 100.6 kB / 1.467 GB, free: 3.871 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.5498, allocations: 47.22 kB / 1.467 GB, free: 3.816 MB / 1.154 GB Notification: Performance of pre-optimization done (n=77): time 3.577e-06/0.5498, allocations: 0 / 1.467 GB, free: 3.816 MB / 1.154 GB Notification: Performance of matching and sorting (n=77): time 0.005853/0.5557, allocations: 1.899 MB / 1.469 GB, free: 1.91 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.034e-05/0.5558, allocations: 111.5 kB / 1.469 GB, free: 1.777 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.5579, allocations: 1.318 MB / 1.47 GB, free: 456 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001366/0.558, allocations: 45.7 kB / 1.47 GB, free: 404 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007314/0.5587, allocations: 0.7248 MB / 1.471 GB, free: 15.66 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.559, allocations: 281.6 kB / 1.471 GB, free: 15.39 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003412/0.5594, allocations: 174.6 kB / 1.472 GB, free: 15.21 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001803/0.5596, allocations: 345.9 kB / 1.472 GB, free: 14.87 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.5613, allocations: 0.598 MB / 1.472 GB, free: 14.27 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00216/0.5635, allocations: 1.116 MB / 1.474 GB, free: 12.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/0.567, allocations: 1.308 MB / 1.475 GB, free: 11.62 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.567, allocations: 7.938 kB / 1.475 GB, free: 11.61 MB / 1.17 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004365/0.5714, allocations: 1.555 MB / 1.476 GB, free: 10.05 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.5714, allocations: 8 kB / 1.476 GB, free: 10.04 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/0.5714, allocations: 8 kB / 1.476 GB, free: 10.03 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.82e-05/0.5714, allocations: 15.94 kB / 1.476 GB, free: 10.02 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.5729, allocations: 303.6 kB / 1.477 GB, free: 9.719 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.333e-05/0.573, allocations: 19.91 kB / 1.477 GB, free: 9.699 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.5744, allocations: 175.3 kB / 1.477 GB, free: 9.527 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.5745, allocations: 47.91 kB / 1.477 GB, free: 9.48 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002354/0.5769, allocations: 0.9046 MB / 1.478 GB, free: 8.574 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002126/0.579, allocations: 1.104 MB / 1.479 GB, free: 7.312 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003535/0.5825, allocations: 1.312 MB / 1.48 GB, free: 5.934 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.5825, allocations: 0 / 1.48 GB, free: 5.934 MB / 1.17 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004388/0.5869, allocations: 1.551 MB / 1.482 GB, free: 4.375 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.5869, allocations: 4 kB / 1.482 GB, free: 4.371 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.495e-06/0.5869, allocations: 8 kB / 1.482 GB, free: 4.363 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.587, allocations: 8 kB / 1.482 GB, free: 4.355 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.5884, allocations: 307.6 kB / 1.482 GB, free: 4.055 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/0.5884, allocations: 12 kB / 1.482 GB, free: 4.043 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.5899, allocations: 167.4 kB / 1.482 GB, free: 3.879 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-05/0.59, allocations: 39.97 kB / 1.482 GB, free: 3.84 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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 0.0003714/0.5903, allocations: 243.9 kB / 1.482 GB, free: 3.594 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/0.5906, allocations: 155 kB / 1.483 GB, free: 3.441 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0044/0.595, allocations: 1.68 MB / 1.484 GB, free: 1.723 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/0.5951, allocations: 11.98 kB / 1.484 GB, free: 1.711 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5951, allocations: 7.938 kB / 1.484 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00352/0.5986, allocations: 1.316 MB / 1.486 GB, free: 364 kB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007139/0.6057, allocations: 2.949 MB / 1.488 GB, free: 13.31 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6057, allocations: 11.94 kB / 1.488 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/0.607, allocations: 232.1 kB / 1.489 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-05/0.607, allocations: 8 kB / 1.489 GB, free: 13.07 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.666e-05/0.6071, allocations: 31.98 kB / 1.489 GB, free: 13.04 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.167e-06/0.6071, allocations: 7.938 kB / 1.489 GB, free: 13.03 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.6071, allocations: 11.94 kB / 1.489 GB, free: 13.02 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00623/0.6133, allocations: 2.399 MB / 1.491 GB, free: 10.54 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/0.6143, allocations: 294.7 kB / 1.491 GB, free: 10.25 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/0.6145, allocations: 27.98 kB / 1.491 GB, free: 10.22 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.6158, allocations: 123.9 kB / 1.491 GB, free: 10.1 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.616, allocations: 84.25 kB / 1.492 GB, free: 10.02 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001084/0.6161, allocations: 51.95 kB / 1.492 GB, free: 9.969 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001434/0.6175, allocations: 0.918 MB / 1.492 GB, free: 9.051 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6175, allocations: 0 / 1.492 GB, free: 9.051 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.002183/0.6197, allocations: 0.8574 MB / 1.493 GB, free: 8.191 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000911/0.6206, allocations: 447.8 kB / 1.494 GB, free: 7.742 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005949/0.6266, allocations: 2.051 MB / 1.496 GB, free: 5.695 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/0.6266, allocations: 4 kB / 1.496 GB, free: 5.691 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.002089/0.6287, allocations: 0.7025 MB / 1.496 GB, free: 4.992 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.6317, allocations: 0.6345 MB / 1.497 GB, free: 4.367 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/0.6373, allocations: 2.945 MB / 1.5 GB, free: 1.32 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000784/0.638, allocations: 0.6951 MB / 1.501 GB, free: 0.5898 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006457/0.6387, allocations: 127.4 kB / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of SimCode: time 1.293e-06/0.6387, allocations: 0 / 1.501 GB, free: 476 kB / 1.186 GB Notification: Performance of Templates: time 0.04641/0.6851, allocations: 28.03 MB / 1.528 GB, free: 4.574 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.463125572074205]