Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.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.001915/0.001915, allocations: 104.2 kB / 19.71 MB, free: 2.141 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.002288/0.002288, allocations: 214.7 kB / 23 MB, free: 4.961 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.582/1.582, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.391/3.391, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") [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.002409/0.002409, allocations: 66.77 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4348/0.4372, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.09529/0.5325, allocations: 69.58 MB / 1.395 GB, free: 11.14 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02305/0.5555, allocations: 11.92 MB / 1.407 GB, free: 15.2 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003215/0.5588, allocations: 95.19 kB / 1.407 GB, free: 15.1 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.5618, allocations: 0.8345 MB / 1.408 GB, free: 14.26 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.008848/0.5706, allocations: 2.653 MB / 1.41 GB, free: 11.6 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.004439/0.5751, allocations: 1.439 MB / 1.412 GB, free: 10.17 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007814/0.5829, allocations: 4.521 MB / 1.416 GB, free: 5.637 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002468/0.5854, allocations: 1.145 MB / 1.417 GB, free: 4.449 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005838/0.5912, allocations: 1.929 MB / 1.419 GB, free: 2.52 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002872/0.5941, allocations: 1.245 MB / 1.42 GB, free: 1.27 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0003991/0.5945, allocations: 168 kB / 1.42 GB, free: 1.105 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003552/0.598, allocations: 1.166 MB / 1.422 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005191/0.5986, allocations: 418.3 kB / 1.422 GB, free: 15.53 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.5998, allocations: 0.735 MB / 1.423 GB, free: 14.79 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.6059, allocations: 2.9 MB / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.6059, allocations: 3.938 kB / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.046e-06/0.6059, allocations: 0 / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.554e-05/0.606, allocations: 0 / 1.426 GB, free: 11.88 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004983/0.6109, allocations: 2.091 MB / 1.428 GB, free: 9.73 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.611, allocations: 8.031 kB / 1.428 GB, free: 9.723 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009746/0.612, allocations: 239.7 kB / 1.428 GB, free: 9.488 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003158/0.6151, allocations: 1.509 MB / 1.429 GB, free: 7.938 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.092e-05/0.6152, allocations: 78 kB / 1.429 GB, free: 7.859 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.6154, allocations: 111.9 kB / 1.429 GB, free: 7.75 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.618, allocations: 1.247 MB / 1.431 GB, free: 6.434 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/0.618, allocations: 0 / 1.431 GB, free: 6.434 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.6181, allocations: 40 kB / 1.431 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.6182, allocations: 24 kB / 1.431 GB, free: 6.371 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002089/0.6203, allocations: 0.8939 MB / 1.432 GB, free: 5.473 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.006758/0.627, allocations: 3.496 MB / 1.435 GB, free: 1.906 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001566/0.6286, allocations: 0.5624 MB / 1.436 GB, free: 1.336 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007086/0.6293, allocations: 314.2 kB / 1.436 GB, free: 1.027 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003219/0.6296, allocations: 80.38 kB / 1.436 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.127e-05/0.6297, allocations: 43 kB / 1.436 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of pre-optimization done (n=61): time 3.006e-06/0.6297, allocations: 0 / 1.436 GB, free: 0.8984 MB / 1.123 GB Notification: Performance of matching and sorting (n=61): time 0.007817/0.6375, allocations: 1.625 MB / 1.438 GB, free: 15.26 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/0.6376, allocations: 59.91 kB / 1.438 GB, free: 15.19 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001907/0.6395, allocations: 1.082 MB / 1.439 GB, free: 14.1 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.667e-05/0.6396, allocations: 41.7 kB / 1.439 GB, free: 14.05 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006345/0.6402, allocations: 0.6339 MB / 1.439 GB, free: 13.41 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/0.6405, allocations: 229.9 kB / 1.44 GB, free: 13.18 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.6407, allocations: 158.6 kB / 1.44 GB, free: 13.02 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001711/0.6409, allocations: 330 kB / 1.44 GB, free: 12.7 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000689/0.6416, allocations: 288.7 kB / 1.44 GB, free: 12.41 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.6429, allocations: 0.8906 MB / 1.441 GB, free: 11.34 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.6445, allocations: 0.7054 MB / 1.442 GB, free: 10.59 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.6445, allocations: 4 kB / 1.442 GB, free: 10.58 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005027/0.6495, allocations: 1.254 MB / 1.443 GB, free: 9.316 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.959e-05/0.6495, allocations: 9.406 kB / 1.443 GB, free: 9.309 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.6495, allocations: 7.984 kB / 1.443 GB, free: 9.301 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006585/0.6502, allocations: 149.1 kB / 1.443 GB, free: 9.152 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/0.6509, allocations: 155.7 kB / 1.443 GB, free: 9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.6519, allocations: 0.7084 MB / 1.444 GB, free: 8.266 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009329/0.6528, allocations: 91.5 kB / 1.444 GB, free: 8.176 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.6529, allocations: 31.94 kB / 1.444 GB, free: 8.145 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001253/0.6542, allocations: 0.5527 MB / 1.445 GB, free: 7.586 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001225/0.6554, allocations: 0.8867 MB / 1.446 GB, free: 6.523 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001672/0.6571, allocations: 0.6937 MB / 1.446 GB, free: 5.781 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.47e-06/0.6571, allocations: 4 kB / 1.446 GB, free: 5.777 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004952/0.662, allocations: 1.254 MB / 1.448 GB, free: 4.512 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.662, allocations: 4 kB / 1.448 GB, free: 4.508 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.662, allocations: 4 kB / 1.448 GB, free: 4.504 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.6626, allocations: 153 kB / 1.448 GB, free: 4.352 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/0.6632, allocations: 155.7 kB / 1.448 GB, free: 4.199 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009548/0.6642, allocations: 0.7084 MB / 1.448 GB, free: 3.465 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.6652, allocations: 87.61 kB / 1.449 GB, free: 3.379 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.6653, allocations: 31.98 kB / 1.449 GB, free: 3.348 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003589/0.6656, allocations: 220.9 kB / 1.449 GB, free: 3.125 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.6659, allocations: 139.2 kB / 1.449 GB, free: 2.988 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004852/0.6708, allocations: 1.254 MB / 1.45 GB, free: 1.73 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004202/0.675, allocations: 1.105 MB / 1.451 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.675, allocations: 0 / 1.451 GB, free: 0.5898 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/0.6757, allocations: 214.9 kB / 1.451 GB, free: 388 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001721/0.6759, allocations: 16 kB / 1.451 GB, free: 372 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006194/0.6765, allocations: 39.89 kB / 1.452 GB, free: 332 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.6767, allocations: 56.55 kB / 1.452 GB, free: 276 kB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0028/0.6795, allocations: 0.9507 MB / 1.453 GB, free: 15.31 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002591/0.682, allocations: 1.319 MB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006912/0.6827, allocations: 301 kB / 1.454 GB, free: 13.68 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001215/0.6839, allocations: 0.7484 MB / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of Backend: time 5.51e-07/0.6839, allocations: 0 / 1.455 GB, free: 12.93 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003917/0.6879, allocations: 1.32 MB / 1.456 GB, free: 11.61 MB / 1.154 GB Notification: Performance of SimCode: time 0.00582/0.6937, allocations: 3.039 MB / 1.459 GB, free: 8.527 MB / 1.154 GB Notification: Performance of Templates: time 0.06003/0.7537, allocations: 34.21 MB / 1.492 GB, free: 6.848 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.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.077910097999847]