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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 113 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001752/0.001752, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.866/2.866, allocations: 496.2 MB / 0.7819 GB, free: 12.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 63.89 kB / 1.136 GB, free: 12.51 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8454/0.8474, allocations: 173.7 MB / 1.305 GB, free: 33.4 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.05437/0.9018, allocations: 63.78 MB / 1.368 GB, free: 4 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.023/0.9247, allocations: 13.73 MB / 1.381 GB, free: 10.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003066/0.9278, allocations: 60.41 kB / 1.381 GB, free: 10.13 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003691/0.9315, allocations: 0.9817 MB / 1.382 GB, free: 9.57 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008965/0.9405, allocations: 2.542 MB / 1.385 GB, free: 8.062 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005822/0.9463, allocations: 1.629 MB / 1.386 GB, free: 7.152 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01077/0.9571, allocations: 4.322 MB / 1.39 GB, free: 5.055 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004105/0.9612, allocations: 1.124 MB / 1.392 GB, free: 4.461 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008078/0.9692, allocations: 1.813 MB / 1.393 GB, free: 3.598 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004182/0.9734, allocations: 1.356 MB / 1.395 GB, free: 2.984 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006171/0.974, allocations: 177.3 kB / 1.395 GB, free: 2.984 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004611/0.9787, allocations: 1.448 MB / 1.396 GB, free: 2.473 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0008046/0.9795, allocations: 0.5288 MB / 1.397 GB, free: 2.156 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.9814, allocations: 1.005 MB / 1.398 GB, free: 1.527 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.006685/0.9881, allocations: 3.189 MB / 1.401 GB, free: 336 kB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.9881, allocations: 0 / 1.401 GB, free: 336 kB / 1.092 GB Notification: Performance of FrontEnd: time 2.304e-06/0.9881, allocations: 1.062 kB / 1.401 GB, free: 336 kB / 1.092 GB Notification: Performance of Transformations before backend: time 9.46e-05/0.9882, allocations: 0 / 1.401 GB, free: 336 kB / 1.092 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.006417/0.9946, allocations: 2.402 MB / 1.403 GB, free: 14.81 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.366e-05/0.9946, allocations: 12.84 kB / 1.403 GB, free: 14.81 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003606/0.9982, allocations: 0.5404 MB / 1.404 GB, free: 14.68 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003773/1.002, allocations: 1.497 MB / 1.405 GB, free: 13.8 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/1.002, allocations: 158.4 kB / 1.405 GB, free: 13.7 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/1.003, allocations: 119.9 kB / 1.405 GB, free: 13.65 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/1.007, allocations: 1.558 MB / 1.407 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/1.007, allocations: 5.922 kB / 1.407 GB, free: 12.95 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.007, allocations: 44.03 kB / 1.407 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/1.007, allocations: 33.8 kB / 1.407 GB, free: 12.91 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004346/1.011, allocations: 1.556 MB / 1.409 GB, free: 12.43 MB / 1.107 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.01166/1.023, allocations: 6.952 MB / 1.415 GB, free: 7.348 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002932/1.026, allocations: 1.226 MB / 1.417 GB, free: 6.648 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.028, allocations: 0.6251 MB / 1.417 GB, free: 6.449 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/1.029, allocations: 1.148 MB / 1.418 GB, free: 5.113 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/1.029, allocations: 48.03 kB / 1.418 GB, free: 5.062 MB / 1.107 GB Notification: Performance of pre-optimization done (n=77): time 2.905e-06/1.029, allocations: 1.344 kB / 1.418 GB, free: 5.062 MB / 1.107 GB Notification: Performance of matching and sorting (n=77): time 0.006313/1.035, allocations: 1.905 MB / 1.42 GB, free: 4.43 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.035, allocations: 112.7 kB / 1.42 GB, free: 4.301 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002651/1.038, allocations: 1.401 MB / 1.422 GB, free: 3.75 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002457/1.038, allocations: 44.27 kB / 1.422 GB, free: 3.707 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008377/1.039, allocations: 0.7286 MB / 1.422 GB, free: 3.125 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004413/1.039, allocations: 276.5 kB / 1.423 GB, free: 2.906 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/1.04, allocations: 178.1 kB / 1.423 GB, free: 2.824 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001838/1.04, allocations: 341.6 kB / 1.423 GB, free: 2.504 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.042, allocations: 0.6018 MB / 1.424 GB, free: 2.309 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/1.044, allocations: 0.827 MB / 1.425 GB, free: 1.852 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003666/1.048, allocations: 1.321 MB / 1.426 GB, free: 1.258 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/1.048, allocations: 1.719 kB / 1.426 GB, free: 1.258 MB / 1.107 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004879/1.052, allocations: 1.565 MB / 1.427 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/1.052, allocations: 7.062 kB / 1.427 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/1.052, allocations: 4.562 kB / 1.427 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/1.052, allocations: 9.188 kB / 1.427 GB, free: 0.5508 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.054, allocations: 305.7 kB / 1.428 GB, free: 472 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.258e-05/1.054, allocations: 13.56 kB / 1.428 GB, free: 468 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/1.056, allocations: 208.9 kB / 1.428 GB, free: 340 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/1.056, allocations: 39.33 kB / 1.428 GB, free: 328 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002426/1.058, allocations: 0.9061 MB / 1.429 GB, free: 15.8 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002052/1.061, allocations: 0.822 MB / 1.43 GB, free: 15.22 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003609/1.064, allocations: 1.312 MB / 1.431 GB, free: 14.43 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/1.064, allocations: 5.562 kB / 1.431 GB, free: 14.43 MB / 1.123 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004619/1.069, allocations: 1.555 MB / 1.432 GB, free: 13.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.069, allocations: 7.188 kB / 1.432 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.069, allocations: 4.906 kB / 1.432 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/1.069, allocations: 9.594 kB / 1.432 GB, free: 13.64 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/1.07, allocations: 309.1 kB / 1.433 GB, free: 13.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.07, allocations: 13.16 kB / 1.433 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.072, allocations: 178 kB / 1.433 GB, free: 13.45 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/1.072, allocations: 44.61 kB / 1.433 GB, free: 13.43 MB / 1.123 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.0004269/1.073, allocations: 233.8 kB / 1.433 GB, free: 13.21 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004596/1.073, allocations: 160 kB / 1.433 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004616/1.078, allocations: 1.684 MB / 1.435 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.105e-05/1.078, allocations: 12.17 kB / 1.435 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/1.078, allocations: 0 / 1.435 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003551/1.081, allocations: 1.312 MB / 1.436 GB, free: 11.39 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/1.089, allocations: 3.4 MB / 1.44 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.089, allocations: 4.375 kB / 1.44 GB, free: 9.055 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.091, allocations: 230.2 kB / 1.44 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-05/1.091, allocations: 7.656 kB / 1.44 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-05/1.091, allocations: 27.05 kB / 1.44 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/1.091, allocations: 15.8 kB / 1.44 GB, free: 8.957 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.091, allocations: 12.06 kB / 1.44 GB, free: 8.949 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/1.097, allocations: 2.402 MB / 1.442 GB, free: 7.523 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.098, allocations: 403 kB / 1.443 GB, free: 7.188 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/1.098, allocations: 29.34 kB / 1.443 GB, free: 7.168 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/1.1, allocations: 140.2 kB / 1.443 GB, free: 7.102 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002155/1.1, allocations: 83.94 kB / 1.443 GB, free: 7.051 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/1.1, allocations: 51.77 kB / 1.443 GB, free: 7.027 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001715/1.102, allocations: 1.078 MB / 1.444 GB, free: 6.441 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.102, allocations: 0 / 1.444 GB, free: 6.441 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002442/1.104, allocations: 0.8186 MB / 1.445 GB, free: 6.277 MB / 1.123 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.001083/1.106, allocations: 472.8 kB / 1.445 GB, free: 6.012 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.005914/1.111, allocations: 2.049 MB / 1.447 GB, free: 5.035 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.111, allocations: 2.219 kB / 1.447 GB, free: 5.035 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002108/1.114, allocations: 0.7207 MB / 1.448 GB, free: 4.688 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.118, allocations: 0.8176 MB / 1.449 GB, free: 4.254 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005741/1.124, allocations: 2.928 MB / 1.452 GB, free: 1.426 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.125, allocations: 1.281 MB / 1.453 GB, free: 120 kB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.00222/1.127, allocations: 436 kB / 1.453 GB, free: 15.68 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/1.127, allocations: 131.3 kB / 1.453 GB, free: 15.55 MB / 1.139 GB Notification: Performance of SimCode: time 1.443e-06/1.127, allocations: 0 / 1.453 GB, free: 15.55 MB / 1.139 GB Notification: Performance of Templates: time 0.06166/1.189, allocations: 34.82 MB / 1.487 GB, free: 13.1 MB / 1.17 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins/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: 10.421567220240831]