Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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.001467/0.001467, 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.001561/0.001561, allocations: 214.4 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.597/1.597, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|uMod.y|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.TSet|heaPum.COP|heaPum.PLR",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop") [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.002129/0.002129, allocations: 73.53 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4314/0.4335, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop): time 0.1022/0.5357, allocations: 83.1 MB / 1.408 GB, free: 13.63 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.04077/0.5764, allocations: 22.67 MB / 1.43 GB, free: 6.906 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005095/0.5815, allocations: 150.8 kB / 1.431 GB, free: 6.758 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.008045/0.5896, allocations: 2.446 MB / 1.433 GB, free: 4.301 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.6026, allocations: 4.108 MB / 1.437 GB, free: 180 kB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.009371/0.612, allocations: 3.281 MB / 1.44 GB, free: 12.93 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01631/0.6283, allocations: 9.919 MB / 1.45 GB, free: 2.984 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004324/0.6326, allocations: 1.946 MB / 1.452 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01066/0.6433, allocations: 3.433 MB / 1.455 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006023/0.6493, allocations: 2.211 MB / 1.457 GB, free: 11.32 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.6503, allocations: 304 kB / 1.458 GB, free: 11.02 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006384/0.6567, allocations: 2.297 MB / 1.46 GB, free: 8.719 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.001347/0.6581, allocations: 0.9457 MB / 1.461 GB, free: 7.77 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.00292/0.661, allocations: 1.443 MB / 1.462 GB, free: 6.32 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.6742, allocations: 5.831 MB / 1.468 GB, free: 480 kB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.279e-05/0.6742, allocations: 4 kB / 1.468 GB, free: 476 kB / 1.154 GB Notification: Performance of FrontEnd: time 4.699e-06/0.6742, allocations: 0 / 1.468 GB, free: 476 kB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0002547/0.6745, allocations: 0 / 1.468 GB, free: 476 kB / 1.154 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 384 * Number of variables: 384 Notification: Performance of Generate backend data structure: time 0.01162/0.6861, allocations: 4.008 MB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.6862, allocations: 8.031 kB / 1.472 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006068/0.6922, allocations: 0.9969 MB / 1.473 GB, free: 11.36 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008048/0.7003, allocations: 3.321 MB / 1.476 GB, free: 7.965 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003959/0.7007, allocations: 317.2 kB / 1.476 GB, free: 7.617 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000452/0.7011, allocations: 179.9 kB / 1.476 GB, free: 7.441 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00557/0.7067, allocations: 2.458 MB / 1.479 GB, free: 4.809 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.7067, allocations: 7.922 kB / 1.479 GB, free: 4.801 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.7069, allocations: 71.98 kB / 1.479 GB, free: 4.73 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.066e-05/0.707, allocations: 40 kB / 1.479 GB, free: 4.691 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005742/0.7127, allocations: 2.029 MB / 1.481 GB, free: 2.656 MB / 1.17 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.01848/0.7312, allocations: 7.692 MB / 1.488 GB, free: 10.8 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003569/0.7348, allocations: 1.216 MB / 1.49 GB, free: 9.574 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002263/0.737, allocations: 0.7778 MB / 1.49 GB, free: 8.797 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006466/0.7435, allocations: 2.36 MB / 1.493 GB, free: 6.418 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002799/0.7463, allocations: 1.227 MB / 1.494 GB, free: 5.105 MB / 1.186 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001111/0.7474, allocations: 107.2 kB / 1.494 GB, free: 5 MB / 1.186 GB Notification: Performance of pre-optimization done (n=96): time 4.819e-06/0.7474, allocations: 0 / 1.494 GB, free: 5 MB / 1.186 GB Notification: Performance of matching and sorting (n=96): time 0.007425/0.7548, allocations: 2.369 MB / 1.496 GB, free: 2.625 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.7549, allocations: 102 kB / 1.496 GB, free: 2.504 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/0.7599, allocations: 2.762 MB / 1.499 GB, free: 15.73 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.7603, allocations: 61.7 kB / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001566/0.7618, allocations: 1.312 MB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.7623, allocations: 357.1 kB / 1.501 GB, free: 13.99 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000837/0.7631, allocations: 435.3 kB / 1.501 GB, free: 13.55 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7633, allocations: 305.1 kB / 1.501 GB, free: 13.25 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003066/0.7663, allocations: 1.175 MB / 1.503 GB, free: 12.05 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003697/0.77, allocations: 2.017 MB / 1.505 GB, free: 9.723 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005314/0.7753, allocations: 2.368 MB / 1.507 GB, free: 7.156 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.7754, allocations: 4 kB / 1.507 GB, free: 7.152 MB / 1.201 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.007948/0.7833, allocations: 3.154 MB / 1.51 GB, free: 3.938 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.7834, allocations: 138.8 kB / 1.51 GB, free: 3.777 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.7835, allocations: 16.03 kB / 1.51 GB, free: 3.762 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.243e-05/0.7835, allocations: 24 kB / 1.51 GB, free: 3.738 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002186/0.7857, allocations: 431.2 kB / 1.511 GB, free: 3.316 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.13e-05/0.7857, allocations: 31.92 kB / 1.511 GB, free: 3.285 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003091/0.7888, allocations: 291.6 kB / 1.511 GB, free: 3 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002363/0.7891, allocations: 95.95 kB / 1.511 GB, free: 2.906 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004132/0.7932, allocations: 1.738 MB / 1.513 GB, free: 1.141 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003677/0.7969, allocations: 2.001 MB / 1.515 GB, free: 14.83 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005625/0.8025, allocations: 2.368 MB / 1.517 GB, free: 12.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.022e-05/0.8025, allocations: 4 kB / 1.517 GB, free: 12.26 MB / 1.217 GB Notification: Performance of matching and sorting (n=240) (initialization_lambda0): time 0.007858/0.8104, allocations: 3.156 MB / 1.52 GB, free: 9.055 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.8105, allocations: 138.8 kB / 1.52 GB, free: 8.895 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.56e-05/0.8105, allocations: 12 kB / 1.52 GB, free: 8.883 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.8105, allocations: 20 kB / 1.52 GB, free: 8.863 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.8126, allocations: 435.9 kB / 1.521 GB, free: 8.438 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.918e-05/0.8127, allocations: 35.8 kB / 1.521 GB, free: 8.402 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.8158, allocations: 299.6 kB / 1.521 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002277/0.816, allocations: 99.94 kB / 1.521 GB, free: 8.012 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,TLoaSet.booPul.y,$PRE.TLoaSet.booPul.y,TSouEnt.booPul.y,$PRE.TSouEnt.booPul.y,pulse.booPul.y,$PRE.pulse.booPul.y,uMod.booPul.y,$PRE.uMod.booPul.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (199): * Single equations (assignments): 193 * Array equations: 1 * Algorithm blocks: 4 * Record equations: 1 * 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.0005891/0.8166, allocations: 287.8 kB / 1.521 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.8171, allocations: 274.2 kB / 1.522 GB, free: 7.453 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005908/0.823, allocations: 2.073 MB / 1.524 GB, free: 5.375 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004527/0.8276, allocations: 1.617 MB / 1.525 GB, free: 3.73 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.8276, allocations: 7.922 kB / 1.525 GB, free: 3.723 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001529/0.8291, allocations: 473.9 kB / 1.526 GB, free: 3.258 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003589/0.8295, allocations: 16 kB / 1.526 GB, free: 3.242 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/0.8314, allocations: 151.8 kB / 1.526 GB, free: 3.094 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.8316, allocations: 72.86 kB / 1.526 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006066/0.8377, allocations: 1.84 MB / 1.528 GB, free: 1.176 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00795/0.8456, allocations: 2.948 MB / 1.53 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002371/0.848, allocations: 0.7495 MB / 1.531 GB, free: 13.46 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003679/0.8517, allocations: 1.861 MB / 1.533 GB, free: 11.6 MB / 1.232 GB Notification: Performance of Backend: time 3.81e-07/0.8517, allocations: 0 / 1.533 GB, free: 11.6 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01276/0.8644, allocations: 4.263 MB / 1.537 GB, free: 7.191 MB / 1.232 GB Notification: Performance of SimCode: time 0.01404/0.8785, allocations: 5.856 MB / 1.543 GB, free: 1.309 MB / 1.232 GB Notification: Performance of Templates: time 0.9092/1.788, allocations: 76.38 MB / 1.618 GB, free: 269.4 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible_CoolingClosedLoop.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_CoolingClosedLoop.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: 13.199948010995286]