Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 109.1 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 213.7 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.374/3.374, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002142/0.002142, allocations: 67.05 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.441, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.07055/0.5116, allocations: 57.72 MB / 1.383 GB, free: 7.094 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02204/0.5336, allocations: 12.61 MB / 1.396 GB, free: 10.46 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003323/0.5369, allocations: 83.31 kB / 1.396 GB, free: 10.38 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003373/0.5403, allocations: 0.92 MB / 1.397 GB, free: 9.449 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.008615/0.5489, allocations: 2.592 MB / 1.399 GB, free: 6.848 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005119/0.5541, allocations: 1.66 MB / 1.401 GB, free: 5.199 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007588/0.5616, allocations: 4.403 MB / 1.405 GB, free: 0.7852 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.5641, allocations: 1.153 MB / 1.406 GB, free: 15.59 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005143/0.5692, allocations: 1.88 MB / 1.408 GB, free: 13.71 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.5719, allocations: 1.338 MB / 1.409 GB, free: 12.37 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.5723, allocations: 176 kB / 1.41 GB, free: 12.2 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00345/0.5757, allocations: 1.201 MB / 1.411 GB, free: 10.99 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0006528/0.5764, allocations: 0.5294 MB / 1.411 GB, free: 10.46 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.5776, allocations: 0.8049 MB / 1.412 GB, free: 9.652 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/0.5829, allocations: 3.204 MB / 1.415 GB, free: 6.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5829, allocations: 0 / 1.415 GB, free: 6.438 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5829, allocations: 0 / 1.415 GB, free: 6.438 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.868e-05/0.583, allocations: 0 / 1.415 GB, free: 6.438 MB / 1.107 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.005542/0.5885, allocations: 2.327 MB / 1.417 GB, free: 4.066 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.5886, allocations: 8.031 kB / 1.417 GB, free: 4.059 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003341/0.5919, allocations: 0.5421 MB / 1.418 GB, free: 3.516 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.595, allocations: 1.435 MB / 1.419 GB, free: 2.039 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.5953, allocations: 276.2 kB / 1.42 GB, free: 1.73 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002106/0.5955, allocations: 108 kB / 1.42 GB, free: 1.625 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004047/0.5996, allocations: 1.91 MB / 1.422 GB, free: 15.54 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/0.5996, allocations: 4 kB / 1.422 GB, free: 15.53 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.5997, allocations: 48 kB / 1.422 GB, free: 15.48 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/0.5998, allocations: 31.98 kB / 1.422 GB, free: 15.45 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004363/0.6042, allocations: 1.565 MB / 1.423 GB, free: 13.89 MB / 1.123 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.009699/0.6139, allocations: 4.985 MB / 1.428 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002712/0.6166, allocations: 0.9168 MB / 1.429 GB, free: 7.863 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.6184, allocations: 0.6272 MB / 1.43 GB, free: 7.234 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.6188, allocations: 104.6 kB / 1.43 GB, free: 7.133 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/0.6189, allocations: 43.22 kB / 1.43 GB, free: 7.082 MB / 1.123 GB Notification: Performance of pre-optimization done (n=77): time 3.667e-06/0.6189, allocations: 0 / 1.43 GB, free: 7.082 MB / 1.123 GB Notification: Performance of matching and sorting (n=77): time 0.006059/0.6249, allocations: 1.902 MB / 1.432 GB, free: 5.172 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.625, allocations: 111.5 kB / 1.432 GB, free: 5.039 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.6271, allocations: 1.318 MB / 1.433 GB, free: 3.707 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/0.6272, allocations: 41.7 kB / 1.433 GB, free: 3.66 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/0.628, allocations: 0.7209 MB / 1.434 GB, free: 2.934 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003273/0.6283, allocations: 281.6 kB / 1.434 GB, free: 2.656 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003774/0.6287, allocations: 178.5 kB / 1.434 GB, free: 2.477 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.6288, allocations: 353.8 kB / 1.435 GB, free: 2.125 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001838/0.6307, allocations: 0.6019 MB / 1.435 GB, free: 1.52 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002204/0.6329, allocations: 1.101 MB / 1.436 GB, free: 264 kB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003741/0.6366, allocations: 1.316 MB / 1.438 GB, free: 14.88 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.185e-06/0.6366, allocations: 4 kB / 1.438 GB, free: 14.88 MB / 1.139 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004585/0.6412, allocations: 1.555 MB / 1.439 GB, free: 13.31 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.6412, allocations: 8 kB / 1.439 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.6413, allocations: 4 kB / 1.439 GB, free: 13.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.469e-05/0.6413, allocations: 8 kB / 1.439 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/0.6429, allocations: 311.5 kB / 1.439 GB, free: 12.98 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.478e-05/0.6429, allocations: 15.92 kB / 1.439 GB, free: 12.97 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6445, allocations: 171.3 kB / 1.44 GB, free: 12.8 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.6446, allocations: 43.97 kB / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002413/0.647, allocations: 0.9039 MB / 1.44 GB, free: 11.85 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002141/0.6492, allocations: 1.101 MB / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003614/0.6528, allocations: 1.312 MB / 1.443 GB, free: 9.215 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.633e-06/0.6528, allocations: 4 kB / 1.443 GB, free: 9.211 MB / 1.139 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.00457/0.6574, allocations: 1.551 MB / 1.444 GB, free: 7.652 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6574, allocations: 8 kB / 1.444 GB, free: 7.645 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.6574, allocations: 7.938 kB / 1.444 GB, free: 7.637 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6574, allocations: 8 kB / 1.444 GB, free: 7.629 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.659, allocations: 307.6 kB / 1.445 GB, free: 7.328 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.659, allocations: 8 kB / 1.445 GB, free: 7.32 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/0.6605, allocations: 171.4 kB / 1.445 GB, free: 7.152 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6606, allocations: 39.98 kB / 1.445 GB, free: 7.113 MB / 1.139 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.0004381/0.661, allocations: 249.7 kB / 1.445 GB, free: 6.863 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.6614, allocations: 147.1 kB / 1.445 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.6661, allocations: 1.688 MB / 1.447 GB, free: 4.992 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003703/0.6698, allocations: 1.32 MB / 1.448 GB, free: 3.641 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/0.6698, allocations: 3.984 kB / 1.448 GB, free: 3.637 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009755/0.6707, allocations: 286.7 kB / 1.448 GB, free: 3.355 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.671, allocations: 23.89 kB / 1.448 GB, free: 3.332 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6723, allocations: 131.8 kB / 1.449 GB, free: 3.203 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.6725, allocations: 72.53 kB / 1.449 GB, free: 3.133 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004913/0.6774, allocations: 1.504 MB / 1.45 GB, free: 1.621 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006154/0.6836, allocations: 2.401 MB / 1.452 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001815/0.6854, allocations: 0.6258 MB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001483/0.6869, allocations: 0.9219 MB / 1.454 GB, free: 13.65 MB / 1.154 GB Notification: Performance of Backend: time 4.61e-07/0.6869, allocations: 0 / 1.454 GB, free: 13.65 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006236/0.6931, allocations: 1.974 MB / 1.456 GB, free: 11.67 MB / 1.154 GB Notification: Performance of SimCode: time 0.005902/0.699, allocations: 3.309 MB / 1.459 GB, free: 8.324 MB / 1.154 GB Notification: Performance of Templates: time 0.07307/0.7721, allocations: 43.3 MB / 1.501 GB, free: 13.52 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 11.08156648700242]