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.001528/0.001528, allocations: 109.5 kB / 17.08 MB, free: 5.938 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.001553/0.001553, allocations: 194.7 kB / 20.03 MB, free: 3.012 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.4/1.4, allocations: 222.9 MB / 245.7 MB, free: 4.18 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.9/2.9, allocations: 490 MB / 0.7695 GB, free: 3.082 MB / 0.6075 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.002151/0.002151, allocations: 63.91 kB / 1.104 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9202/0.9224, allocations: 164 MB / 1.264 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06751/0.9899, allocations: 62.75 MB / 1.325 GB, free: 10.3 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02115/1.011, allocations: 13.67 MB / 1.338 GB, free: 472 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002992/1.014, allocations: 61.44 kB / 1.339 GB, free: 452 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.003196/1.017, allocations: 0.9474 MB / 1.339 GB, free: 15.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00821/1.026, allocations: 2.416 MB / 1.342 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004859/1.03, allocations: 1.614 MB / 1.343 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007494/1.038, allocations: 4.299 MB / 1.348 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002522/1.041, allocations: 1.425 MB / 1.349 GB, free: 10.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004877/1.045, allocations: 1.773 MB / 1.351 GB, free: 9.914 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002229/1.048, allocations: 1.277 MB / 1.352 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.00031/1.048, allocations: 175.4 kB / 1.352 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/1.051, allocations: 1.423 MB / 1.354 GB, free: 8.816 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000613/1.052, allocations: 0.5121 MB / 1.354 GB, free: 8.516 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/1.053, allocations: 1.005 MB / 1.355 GB, free: 7.887 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005928/1.059, allocations: 3.193 MB / 1.358 GB, free: 6.684 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.059, allocations: 1.062 kB / 1.358 GB, free: 6.684 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/1.059, allocations: 0 / 1.358 GB, free: 6.684 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.743e-05/1.06, allocations: 0 / 1.358 GB, free: 6.684 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.005494/1.065, allocations: 2.396 MB / 1.36 GB, free: 5.109 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.065, allocations: 9.812 kB / 1.36 GB, free: 5.109 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003088/1.068, allocations: 0.5449 MB / 1.361 GB, free: 4.859 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002946/1.071, allocations: 1.506 MB / 1.362 GB, free: 3.699 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002108/1.071, allocations: 161.4 kB / 1.363 GB, free: 3.586 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/1.072, allocations: 107.3 kB / 1.363 GB, free: 3.551 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003699/1.075, allocations: 1.562 MB / 1.364 GB, free: 2.539 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/1.075, allocations: 1 kB / 1.364 GB, free: 2.539 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/1.075, allocations: 52.59 kB / 1.364 GB, free: 2.5 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.457e-05/1.075, allocations: 32.66 kB / 1.364 GB, free: 2.496 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004336/1.08, allocations: 1.559 MB / 1.366 GB, free: 1.723 MB / 1.061 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.01003/1.09, allocations: 6.948 MB / 1.373 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002812/1.093, allocations: 1.276 MB / 1.374 GB, free: 10.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001844/1.095, allocations: 0.6675 MB / 1.375 GB, free: 10.41 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.096, allocations: 1.142 MB / 1.376 GB, free: 9.059 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/1.096, allocations: 53.2 kB / 1.376 GB, free: 9.004 MB / 1.076 GB Notification: Performance of pre-optimization done (n=77): time 2.895e-06/1.096, allocations: 0 / 1.376 GB, free: 9.004 MB / 1.076 GB Notification: Performance of matching and sorting (n=77): time 0.005979/1.102, allocations: 1.906 MB / 1.378 GB, free: 8.047 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.746e-05/1.102, allocations: 110.7 kB / 1.378 GB, free: 7.922 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002056/1.104, allocations: 1.404 MB / 1.379 GB, free: 7.16 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.104, allocations: 43.14 kB / 1.379 GB, free: 7.117 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007075/1.105, allocations: 0.7251 MB / 1.38 GB, free: 6.473 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003155/1.105, allocations: 278.1 kB / 1.38 GB, free: 6.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/1.105, allocations: 187.2 kB / 1.38 GB, free: 6.117 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.106, allocations: 342.9 kB / 1.381 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/1.107, allocations: 0.5988 MB / 1.381 GB, free: 5.477 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002008/1.109, allocations: 0.8325 MB / 1.382 GB, free: 4.891 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003584/1.113, allocations: 1.315 MB / 1.383 GB, free: 4.105 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.113, allocations: 1.125 kB / 1.383 GB, free: 4.105 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004397/1.117, allocations: 1.56 MB / 1.385 GB, free: 3.316 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/1.117, allocations: 7.375 kB / 1.385 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.117, allocations: 5.094 kB / 1.385 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.556e-05/1.117, allocations: 8.75 kB / 1.385 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.119, allocations: 315 kB / 1.385 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/1.119, allocations: 8.531 kB / 1.385 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/1.12, allocations: 196.4 kB / 1.385 GB, free: 3.105 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/1.121, allocations: 40.33 kB / 1.385 GB, free: 3.094 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002315/1.123, allocations: 0.9016 MB / 1.386 GB, free: 2.574 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001985/1.125, allocations: 0.8299 MB / 1.387 GB, free: 1.984 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0035/1.128, allocations: 1.308 MB / 1.388 GB, free: 1.207 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.302e-05/1.128, allocations: 5.859 kB / 1.388 GB, free: 1.203 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004302/1.133, allocations: 1.559 MB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/1.133, allocations: 9.219 kB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.133, allocations: 4.531 kB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.133, allocations: 9.375 kB / 1.39 GB, free: 424 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/1.134, allocations: 305.1 kB / 1.39 GB, free: 332 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.134, allocations: 13.59 kB / 1.39 GB, free: 328 kB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/1.136, allocations: 186.5 kB / 1.39 GB, free: 220 kB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/1.136, allocations: 44.23 kB / 1.39 GB, free: 204 kB / 1.076 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.0004052/1.136, allocations: 238 kB / 1.391 GB, free: 15.97 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/1.137, allocations: 156.5 kB / 1.391 GB, free: 15.89 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/1.141, allocations: 1.69 MB / 1.392 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/1.142, allocations: 7.844 kB / 1.392 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.142, allocations: 5.047 kB / 1.392 GB, free: 14.89 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003712/1.145, allocations: 1.312 MB / 1.394 GB, free: 14.15 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007881/1.153, allocations: 3.397 MB / 1.397 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/1.153, allocations: 4.125 kB / 1.397 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/1.154, allocations: 230.3 kB / 1.397 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/1.154, allocations: 7.375 kB / 1.397 GB, free: 11.74 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.514e-05/1.155, allocations: 26.23 kB / 1.397 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.169e-05/1.155, allocations: 7.375 kB / 1.397 GB, free: 11.72 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/1.155, allocations: 12.94 kB / 1.397 GB, free: 11.71 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/1.161, allocations: 2.411 MB / 1.4 GB, free: 10.29 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/1.162, allocations: 405.5 kB / 1.4 GB, free: 9.949 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/1.162, allocations: 17.22 kB / 1.4 GB, free: 9.941 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.164, allocations: 141.3 kB / 1.4 GB, free: 9.875 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.164, allocations: 83.34 kB / 1.4 GB, free: 9.824 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001291/1.164, allocations: 43.72 kB / 1.4 GB, free: 9.809 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001977/1.166, allocations: 1.079 MB / 1.401 GB, free: 8.949 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.3e-07/1.166, allocations: 0 / 1.401 GB, free: 8.949 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002921/1.169, allocations: 0.8227 MB / 1.402 GB, free: 8.125 MB / 1.092 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.001276/1.171, allocations: 467 kB / 1.403 GB, free: 7.66 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006343/1.177, allocations: 2.142 MB / 1.405 GB, free: 5.52 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/1.177, allocations: 7.859 kB / 1.405 GB, free: 5.512 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002149/1.179, allocations: 0.7263 MB / 1.405 GB, free: 4.781 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004318/1.183, allocations: 0.8222 MB / 1.406 GB, free: 3.973 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006259/1.19, allocations: 2.983 MB / 1.409 GB, free: 0.8906 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/1.191, allocations: 1.265 MB / 1.41 GB, free: 15.6 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007019/1.192, allocations: 147.4 kB / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of SimCode: time 8.51e-07/1.192, allocations: 0 / 1.41 GB, free: 15.45 MB / 1.107 GB Notification: Performance of Templates: time 0.04696/1.239, allocations: 29.55 MB / 1.439 GB, free: 2.074 MB / 1.123 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.472726523992606]