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.001661/0.001661, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001736/0.001736, allocations: 195.5 kB / 22.17 MB, free: 5.656 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.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] 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=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.001965/0.001965, allocations: 67.89 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7863, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.0702/0.8564, allocations: 63.67 MB / 1.336 GB, free: 4.656 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02057/0.877, allocations: 13.74 MB / 1.35 GB, free: 6.883 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.8794, allocations: 63.62 kB / 1.35 GB, free: 6.82 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002921/0.8823, allocations: 0.9784 MB / 1.351 GB, free: 5.836 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007405/0.8897, allocations: 2.541 MB / 1.353 GB, free: 3.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0046/0.8943, allocations: 1.634 MB / 1.355 GB, free: 1.664 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007357/0.9017, allocations: 4.323 MB / 1.359 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002737/0.9044, allocations: 1.133 MB / 1.36 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005257/0.9097, allocations: 1.674 MB / 1.362 GB, free: 10.48 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.9129, allocations: 1.354 MB / 1.363 GB, free: 9.125 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0006531/0.9135, allocations: 176 kB / 1.363 GB, free: 8.953 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/0.9182, allocations: 1.47 MB / 1.365 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009511/0.9191, allocations: 0.5176 MB / 1.365 GB, free: 6.961 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.9212, allocations: 1.011 MB / 1.366 GB, free: 5.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007139/0.9283, allocations: 3.18 MB / 1.369 GB, free: 2.754 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.9283, allocations: 4 kB / 1.369 GB, free: 2.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9283, allocations: 0 / 1.369 GB, free: 2.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.447e-05/0.9284, allocations: 0 / 1.369 GB, free: 2.75 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.006866/0.9353, allocations: 2.409 MB / 1.372 GB, free: 284 kB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.9353, allocations: 8.031 kB / 1.372 GB, free: 276 kB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.9389, allocations: 0.546 MB / 1.372 GB, free: 15.72 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003196/0.9421, allocations: 1.499 MB / 1.374 GB, free: 14.17 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.9423, allocations: 153.5 kB / 1.374 GB, free: 14.01 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002205/0.9425, allocations: 112 kB / 1.374 GB, free: 13.9 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003838/0.9463, allocations: 1.566 MB / 1.375 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.356e-05/0.9464, allocations: 4 kB / 1.375 GB, free: 12.24 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.9465, allocations: 44 kB / 1.375 GB, free: 12.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.561e-05/0.9465, allocations: 35.98 kB / 1.375 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004544/0.9511, allocations: 1.561 MB / 1.377 GB, free: 10.6 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.01136/0.9625, allocations: 6.925 MB / 1.384 GB, free: 3.227 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.9654, allocations: 1.232 MB / 1.385 GB, free: 1.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.9673, allocations: 0.6312 MB / 1.386 GB, free: 1.277 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.9683, allocations: 1.141 MB / 1.387 GB, free: 15.88 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/0.9684, allocations: 47.22 kB / 1.387 GB, free: 15.82 MB / 1.092 GB Notification: Performance of pre-optimization done (n=77): time 2.384e-06/0.9684, allocations: 0 / 1.387 GB, free: 15.82 MB / 1.092 GB Notification: Performance of matching and sorting (n=77): time 0.006331/0.9747, allocations: 1.91 MB / 1.389 GB, free: 13.91 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/0.9748, allocations: 115.5 kB / 1.389 GB, free: 13.77 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.9772, allocations: 1.409 MB / 1.39 GB, free: 12.35 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.9773, allocations: 41.7 kB / 1.39 GB, free: 12.3 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007197/0.978, allocations: 0.7291 MB / 1.391 GB, free: 11.56 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003159/0.9783, allocations: 277.6 kB / 1.391 GB, free: 11.29 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003713/0.9787, allocations: 186.5 kB / 1.391 GB, free: 11.1 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001723/0.9789, allocations: 334 kB / 1.392 GB, free: 10.77 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/0.9808, allocations: 0.6059 MB / 1.392 GB, free: 10.16 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.983, allocations: 0.8322 MB / 1.393 GB, free: 9.238 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.987, allocations: 1.304 MB / 1.394 GB, free: 7.871 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.987, allocations: 7.984 kB / 1.394 GB, free: 7.863 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004924/0.9919, allocations: 1.558 MB / 1.396 GB, free: 6.301 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.9919, allocations: 8 kB / 1.396 GB, free: 6.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.9919, allocations: 4 kB / 1.396 GB, free: 6.289 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.191e-05/0.992, allocations: 12.5 kB / 1.396 GB, free: 6.277 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001628/0.9936, allocations: 311.5 kB / 1.396 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/0.9936, allocations: 11.98 kB / 1.396 GB, free: 5.961 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.9955, allocations: 195.2 kB / 1.396 GB, free: 5.77 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.9956, allocations: 39.98 kB / 1.396 GB, free: 5.73 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002525/0.9981, allocations: 0.9 MB / 1.397 GB, free: 4.824 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002187/1, allocations: 0.8283 MB / 1.398 GB, free: 3.902 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003815/1.004, allocations: 1.316 MB / 1.399 GB, free: 2.523 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/1.004, allocations: 0 / 1.399 GB, free: 2.523 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004725/1.009, allocations: 1.558 MB / 1.401 GB, free: 0.957 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/1.009, allocations: 8 kB / 1.401 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/1.009, allocations: 4 kB / 1.401 GB, free: 0.9453 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.009, allocations: 8 kB / 1.401 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/1.01, allocations: 311.7 kB / 1.401 GB, free: 0.6328 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.628e-05/1.01, allocations: 8 kB / 1.401 GB, free: 0.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/1.012, allocations: 183.3 kB / 1.401 GB, free: 456 kB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.012, allocations: 43.92 kB / 1.401 GB, free: 412 kB / 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.0003581/1.013, allocations: 239.9 kB / 1.402 GB, free: 164 kB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/1.013, allocations: 163 kB / 1.402 GB, free: 0 / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004829/1.018, allocations: 1.689 MB / 1.403 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.018, allocations: 12 kB / 1.403 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/1.018, allocations: 3.938 kB / 1.403 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003841/1.022, allocations: 1.312 MB / 1.405 GB, free: 12.92 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008003/1.03, allocations: 3.385 MB / 1.408 GB, free: 9.422 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.03, allocations: 8.125 kB / 1.408 GB, free: 9.414 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/1.031, allocations: 231.6 kB / 1.408 GB, free: 9.188 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/1.031, allocations: 11.98 kB / 1.408 GB, free: 9.176 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.026e-05/1.031, allocations: 23.98 kB / 1.408 GB, free: 9.152 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/1.031, allocations: 8 kB / 1.408 GB, free: 9.145 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.031, allocations: 11.88 kB / 1.408 GB, free: 9.133 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/1.038, allocations: 2.404 MB / 1.411 GB, free: 6.652 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/1.039, allocations: 403.6 kB / 1.411 GB, free: 6.238 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.039, allocations: 19.98 kB / 1.411 GB, free: 6.219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.041, allocations: 139.9 kB / 1.411 GB, free: 6.082 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001998/1.041, allocations: 88.34 kB / 1.411 GB, free: 5.992 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.041, allocations: 39.91 kB / 1.411 GB, free: 5.953 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001878/1.043, allocations: 1.079 MB / 1.412 GB, free: 4.879 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 0 / 1.412 GB, free: 4.879 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.002337/1.045, allocations: 0.8227 MB / 1.413 GB, free: 4.055 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.001105/1.046, allocations: 480.6 kB / 1.414 GB, free: 3.59 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.006659/1.053, allocations: 2.048 MB / 1.416 GB, free: 1.547 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/1.053, allocations: 8.125 kB / 1.416 GB, free: 1.539 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.002376/1.056, allocations: 0.7145 MB / 1.416 GB, free: 0.8242 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/1.06, allocations: 0.8215 MB / 1.417 GB, free: 12 kB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/1.066, allocations: 2.934 MB / 1.42 GB, free: 12.98 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001266/1.067, allocations: 1.277 MB / 1.421 GB, free: 11.67 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001815/1.069, allocations: 418.6 kB / 1.422 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/1.07, allocations: 131.4 kB / 1.422 GB, free: 11.13 MB / 1.123 GB Notification: Performance of SimCode: time 7.61e-07/1.07, allocations: 0 / 1.422 GB, free: 11.13 MB / 1.123 GB Notification: Performance of Templates: time 0.06274/1.132, allocations: 34.82 MB / 1.456 GB, free: 8.699 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 -s cvode -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_2/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: 9.940749785862863]