Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001356/0.001356, allocations: 110 kB / 18.93 MB, free: 2.945 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.001721/0.001721, allocations: 187.8 kB / 22.23 MB, free: 5.164 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.697/1.697, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.733/2.733, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_11_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_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 1.11 GB, free: 6.383 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.8054, allocations: 168.8 MB / 1.274 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07286/0.8783, allocations: 63.68 MB / 1.337 GB, free: 4.375 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02126/0.8996, allocations: 13.73 MB / 1.35 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002447/0.902, allocations: 87.31 kB / 1.35 GB, free: 6.52 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003585/0.9056, allocations: 0.9823 MB / 1.351 GB, free: 5.531 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008311/0.9139, allocations: 2.585 MB / 1.353 GB, free: 2.934 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004937/0.9188, allocations: 1.659 MB / 1.355 GB, free: 1.289 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.008281/0.9271, allocations: 4.4 MB / 1.359 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/0.9299, allocations: 1.137 MB / 1.361 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005088/0.935, allocations: 1.697 MB / 1.362 GB, free: 10 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003029/0.938, allocations: 1.358 MB / 1.364 GB, free: 8.641 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0007851/0.9388, allocations: 176 kB / 1.364 GB, free: 8.469 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004578/0.9434, allocations: 1.478 MB / 1.365 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009673/0.9444, allocations: 0.5216 MB / 1.366 GB, free: 6.465 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002207/0.9466, allocations: 1.011 MB / 1.367 GB, free: 5.449 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.006737/0.9533, allocations: 3.183 MB / 1.37 GB, free: 2.258 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.847e-06/0.9533, allocations: 0 / 1.37 GB, free: 2.258 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.665e-06/0.9533, allocations: 3.938 kB / 1.37 GB, free: 2.254 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000158/0.9535, allocations: 4 kB / 1.37 GB, free: 2.25 MB / 1.061 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.007109/0.9606, allocations: 2.339 MB / 1.372 GB, free: 15.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.9606, allocations: 8.031 kB / 1.372 GB, free: 15.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.964, allocations: 0.5383 MB / 1.373 GB, free: 15.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003475/0.9674, allocations: 1.433 MB / 1.374 GB, free: 13.85 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.9677, allocations: 157.5 kB / 1.374 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002969/0.968, allocations: 108 kB / 1.374 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004232/0.9722, allocations: 1.562 MB / 1.376 GB, free: 11.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.9723, allocations: 4 kB / 1.376 GB, free: 11.92 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001908/0.9725, allocations: 44 kB / 1.376 GB, free: 11.88 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-05/0.9725, allocations: 35.92 kB / 1.376 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.9772, allocations: 1.565 MB / 1.377 GB, free: 10.28 MB / 1.076 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.01135/0.9886, allocations: 6.842 MB / 1.384 GB, free: 3 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.9912, allocations: 0.9296 MB / 1.385 GB, free: 2.062 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001807/0.9931, allocations: 0.6351 MB / 1.386 GB, free: 1.422 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004441/0.9935, allocations: 104.6 kB / 1.386 GB, free: 1.32 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/0.9935, allocations: 47.86 kB / 1.386 GB, free: 1.266 MB / 1.076 GB Notification: Performance of pre-optimization done (n=77): time 2.525e-06/0.9935, allocations: 3.938 kB / 1.386 GB, free: 1.262 MB / 1.076 GB Notification: Performance of matching and sorting (n=77): time 0.0062/0.9997, allocations: 1.906 MB / 1.388 GB, free: 15.34 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.667e-05/0.9998, allocations: 111.5 kB / 1.388 GB, free: 15.21 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002675/1.003, allocations: 1.409 MB / 1.389 GB, free: 13.79 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002381/1.003, allocations: 45.7 kB / 1.389 GB, free: 13.74 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007568/1.004, allocations: 0.7214 MB / 1.39 GB, free: 13.01 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/1.004, allocations: 273.6 kB / 1.39 GB, free: 12.74 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004487/1.004, allocations: 186.5 kB / 1.39 GB, free: 12.55 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001794/1.005, allocations: 341.9 kB / 1.391 GB, free: 12.21 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001935/1.006, allocations: 0.5981 MB / 1.391 GB, free: 11.61 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002066/1.009, allocations: 0.8322 MB / 1.392 GB, free: 10.69 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003644/1.012, allocations: 1.328 MB / 1.393 GB, free: 9.301 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.012, allocations: 0 / 1.393 GB, free: 9.301 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004586/1.017, allocations: 1.562 MB / 1.395 GB, free: 7.734 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/1.017, allocations: 9.875 kB / 1.395 GB, free: 7.727 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/1.017, allocations: 4.562 kB / 1.395 GB, free: 7.723 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/1.017, allocations: 15.98 kB / 1.395 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/1.018, allocations: 307.5 kB / 1.395 GB, free: 7.406 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/1.018, allocations: 8 kB / 1.395 GB, free: 7.398 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.02, allocations: 195.1 kB / 1.395 GB, free: 7.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/1.02, allocations: 39.98 kB / 1.395 GB, free: 7.168 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00241/1.023, allocations: 0.9078 MB / 1.396 GB, free: 6.254 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002096/1.025, allocations: 0.8245 MB / 1.397 GB, free: 5.34 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003594/1.028, allocations: 1.308 MB / 1.398 GB, free: 3.969 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.703e-06/1.028, allocations: 3.984 kB / 1.398 GB, free: 3.965 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004535/1.033, allocations: 1.566 MB / 1.4 GB, free: 2.387 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/1.033, allocations: 4 kB / 1.4 GB, free: 2.383 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/1.033, allocations: 8 kB / 1.4 GB, free: 2.375 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.033, allocations: 8 kB / 1.4 GB, free: 2.367 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/1.034, allocations: 308 kB / 1.4 GB, free: 2.066 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.085e-05/1.034, allocations: 15.94 kB / 1.4 GB, free: 2.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/1.036, allocations: 171.5 kB / 1.4 GB, free: 1.883 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/1.036, allocations: 43.97 kB / 1.4 GB, free: 1.84 MB / 1.092 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.0003667/1.036, allocations: 236.5 kB / 1.401 GB, free: 1.602 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005336/1.037, allocations: 159 kB / 1.401 GB, free: 1.445 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004613/1.042, allocations: 1.696 MB / 1.402 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-05/1.042, allocations: 11.98 kB / 1.402 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.042, allocations: 0 / 1.402 GB, free: 15.71 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003621/1.045, allocations: 1.316 MB / 1.404 GB, free: 14.36 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/1.053, allocations: 3.382 MB / 1.407 GB, free: 10.87 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.053, allocations: 4 kB / 1.407 GB, free: 10.86 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/1.054, allocations: 227.9 kB / 1.407 GB, free: 10.64 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.798e-05/1.054, allocations: 8 kB / 1.407 GB, free: 10.63 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/1.054, allocations: 23.98 kB / 1.407 GB, free: 10.61 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-05/1.054, allocations: 8 kB / 1.407 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/1.054, allocations: 11.94 kB / 1.407 GB, free: 10.59 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/1.061, allocations: 2.424 MB / 1.41 GB, free: 8.09 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.062, allocations: 322.5 kB / 1.41 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004621/1.062, allocations: 19.98 kB / 1.41 GB, free: 7.754 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001647/1.064, allocations: 147.8 kB / 1.41 GB, free: 7.609 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/1.064, allocations: 84.25 kB / 1.41 GB, free: 7.527 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/1.064, allocations: 43.97 kB / 1.41 GB, free: 7.484 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.00215/1.066, allocations: 1.076 MB / 1.411 GB, free: 6.414 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.066, allocations: 4 kB / 1.411 GB, free: 6.41 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002531/1.069, allocations: 0.8228 MB / 1.412 GB, free: 5.586 MB / 1.107 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.001125/1.07, allocations: 468.5 kB / 1.413 GB, free: 5.121 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006097/1.076, allocations: 2.063 MB / 1.415 GB, free: 3.066 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/1.076, allocations: 0 / 1.415 GB, free: 3.066 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.078, allocations: 0.7143 MB / 1.415 GB, free: 2.352 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/1.082, allocations: 0.8287 MB / 1.416 GB, free: 1.535 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/1.088, allocations: 2.929 MB / 1.419 GB, free: 14.51 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/1.089, allocations: 1.277 MB / 1.42 GB, free: 13.2 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001899/1.091, allocations: 419.4 kB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005285/1.092, allocations: 131.4 kB / 1.421 GB, free: 12.66 MB / 1.123 GB Notification: Performance of SimCode: time 8.52e-07/1.092, allocations: 4 kB / 1.421 GB, free: 12.66 MB / 1.123 GB Notification: Performance of Templates: time 0.06489/1.157, allocations: 35.07 MB / 1.455 GB, free: 9.98 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.180412451736629]