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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 106.3 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 225.6 MB / 249.9 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.734/2.734, allocations: 476.7 MB / 0.7634 GB, free: 10.93 MB / 0.6231 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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=508,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=508,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.001928/0.001928, allocations: 71.88 kB / 1.108 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8183, allocations: 168.7 MB / 1.272 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06859/0.8869, allocations: 63.1 MB / 1.334 GB, free: 5.379 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02054/0.9074, allocations: 13.7 MB / 1.347 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002396/0.9098, allocations: 63.62 kB / 1.347 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002947/0.9128, allocations: 0.9784 MB / 1.348 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007414/0.9202, allocations: 2.539 MB / 1.351 GB, free: 4.055 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.00454/0.9247, allocations: 1.631 MB / 1.352 GB, free: 2.438 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006594/0.9313, allocations: 4.318 MB / 1.357 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/0.9334, allocations: 1.183 MB / 1.358 GB, free: 12.88 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.9375, allocations: 1.677 MB / 1.359 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.9402, allocations: 1.362 MB / 1.361 GB, free: 9.84 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004363/0.9406, allocations: 180 kB / 1.361 GB, free: 9.664 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003689/0.9443, allocations: 1.462 MB / 1.362 GB, free: 8.199 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006856/0.945, allocations: 0.5215 MB / 1.363 GB, free: 7.676 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001465/0.9464, allocations: 1.007 MB / 1.364 GB, free: 6.664 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005808/0.9522, allocations: 3.182 MB / 1.367 GB, free: 3.473 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.9522, allocations: 0 / 1.367 GB, free: 3.473 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.445e-06/0.9522, allocations: 0 / 1.367 GB, free: 3.473 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.195e-05/0.9523, allocations: 0 / 1.367 GB, free: 3.473 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.005282/0.9576, allocations: 2.407 MB / 1.369 GB, free: 1.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.9576, allocations: 12.03 kB / 1.369 GB, free: 0.9922 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003051/0.9607, allocations: 0.5421 MB / 1.37 GB, free: 460 kB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.9636, allocations: 1.503 MB / 1.371 GB, free: 14.89 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.9638, allocations: 157.5 kB / 1.372 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002046/0.964, allocations: 112 kB / 1.372 GB, free: 14.62 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003717/0.9677, allocations: 1.57 MB / 1.373 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.9678, allocations: 0 / 1.373 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.9679, allocations: 44 kB / 1.373 GB, free: 12.92 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-05/0.968, allocations: 35.98 kB / 1.373 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004308/0.9723, allocations: 1.561 MB / 1.375 GB, free: 11.32 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.01062/0.9829, allocations: 6.934 MB / 1.382 GB, free: 3.945 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.9857, allocations: 1.236 MB / 1.383 GB, free: 2.625 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/0.9875, allocations: 0.6278 MB / 1.383 GB, free: 1.996 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.9886, allocations: 1.145 MB / 1.384 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/0.9886, allocations: 43.22 kB / 1.384 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of pre-optimization done (n=77): time 3.246e-06/0.9886, allocations: 0 / 1.384 GB, free: 0.5391 MB / 1.076 GB Notification: Performance of matching and sorting (n=77): time 0.005859/0.9945, allocations: 1.91 MB / 1.386 GB, free: 14.62 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.9946, allocations: 115.5 kB / 1.386 GB, free: 14.48 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002223/0.9968, allocations: 1.405 MB / 1.388 GB, free: 13.07 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/0.9969, allocations: 41.7 kB / 1.388 GB, free: 13.02 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006893/0.9976, allocations: 0.7292 MB / 1.389 GB, free: 12.29 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.998, allocations: 281.6 kB / 1.389 GB, free: 12.01 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003602/0.9983, allocations: 182.5 kB / 1.389 GB, free: 11.82 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001666/0.9985, allocations: 337.9 kB / 1.389 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/1, allocations: 0.598 MB / 1.39 GB, free: 10.89 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001988/1.002, allocations: 0.8361 MB / 1.391 GB, free: 9.957 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/1.006, allocations: 1.32 MB / 1.392 GB, free: 8.578 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/1.006, allocations: 0 / 1.392 GB, free: 8.578 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004381/1.01, allocations: 1.562 MB / 1.394 GB, free: 7.008 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.01, allocations: 4 kB / 1.394 GB, free: 7.004 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.01, allocations: 8 kB / 1.394 GB, free: 6.996 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/1.01, allocations: 8 kB / 1.394 GB, free: 6.988 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001519/1.012, allocations: 307.7 kB / 1.394 GB, free: 6.688 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/1.012, allocations: 15.98 kB / 1.394 GB, free: 6.672 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/1.013, allocations: 195.1 kB / 1.394 GB, free: 6.48 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.813e-05/1.013, allocations: 39.98 kB / 1.394 GB, free: 6.441 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002331/1.016, allocations: 0.9039 MB / 1.395 GB, free: 5.535 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00198/1.018, allocations: 0.8244 MB / 1.396 GB, free: 4.617 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00354/1.021, allocations: 1.312 MB / 1.397 GB, free: 3.238 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.168e-06/1.021, allocations: 0 / 1.397 GB, free: 3.238 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004425/1.026, allocations: 1.558 MB / 1.399 GB, free: 1.676 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/1.026, allocations: 10.03 kB / 1.399 GB, free: 1.668 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/1.026, allocations: 4 kB / 1.399 GB, free: 1.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/1.026, allocations: 12.56 kB / 1.399 GB, free: 1.652 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/1.027, allocations: 307.5 kB / 1.399 GB, free: 1.352 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/1.027, allocations: 8 kB / 1.399 GB, free: 1.344 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001583/1.029, allocations: 175.4 kB / 1.399 GB, free: 1.172 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.812e-05/1.029, allocations: 43.92 kB / 1.399 GB, free: 1.129 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.0003847/1.029, allocations: 243.9 kB / 1.399 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003647/1.03, allocations: 155 kB / 1.4 GB, free: 0.7305 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004525/1.034, allocations: 1.693 MB / 1.401 GB, free: 15 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/1.034, allocations: 8 kB / 1.401 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.034, allocations: 0 / 1.401 GB, free: 14.99 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003614/1.038, allocations: 1.312 MB / 1.402 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007462/1.045, allocations: 3.381 MB / 1.406 GB, free: 10.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.045, allocations: 4 kB / 1.406 GB, free: 10.16 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.047, allocations: 240.2 kB / 1.406 GB, free: 9.922 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.682e-05/1.047, allocations: 15.92 kB / 1.406 GB, free: 9.906 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.29e-05/1.047, allocations: 19.98 kB / 1.406 GB, free: 9.887 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/1.047, allocations: 8 kB / 1.406 GB, free: 9.879 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.085e-05/1.047, allocations: 15.88 kB / 1.406 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006306/1.053, allocations: 2.412 MB / 1.408 GB, free: 7.375 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009732/1.054, allocations: 399.6 kB / 1.409 GB, free: 6.965 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000278/1.054, allocations: 23.98 kB / 1.409 GB, free: 6.941 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/1.056, allocations: 135.9 kB / 1.409 GB, free: 6.809 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/1.056, allocations: 80.34 kB / 1.409 GB, free: 6.727 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.056, allocations: 51.91 kB / 1.409 GB, free: 6.676 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001731/1.058, allocations: 1.076 MB / 1.41 GB, free: 5.605 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 0 / 1.41 GB, free: 5.605 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002276/1.06, allocations: 0.8188 MB / 1.411 GB, free: 4.785 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.001012/1.061, allocations: 480.4 kB / 1.411 GB, free: 4.309 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006019/1.067, allocations: 2.056 MB / 1.413 GB, free: 2.254 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.067, allocations: 0 / 1.413 GB, free: 2.254 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002103/1.069, allocations: 0.6951 MB / 1.414 GB, free: 1.559 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003951/1.073, allocations: 0.8262 MB / 1.415 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005651/1.079, allocations: 2.975 MB / 1.418 GB, free: 13.67 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/1.08, allocations: 1.273 MB / 1.419 GB, free: 12.37 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/1.081, allocations: 139.4 kB / 1.419 GB, free: 12.23 MB / 1.123 GB Notification: Performance of SimCode: time 1.352e-06/1.081, allocations: 0 / 1.419 GB, free: 12.23 MB / 1.123 GB Notification: Performance of Templates: time 0.05022/1.131, allocations: 29.68 MB / 1.448 GB, free: 14.73 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/jenkins1/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