Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 112.9 kB / 16.39 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 189.5 kB / 17.32 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 442.7 MB / 0.7167 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 59.91 kB / 1.027 GB, free: 1.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8258/0.8272, allocations: 153 MB / 1.177 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.0754/0.9026, allocations: 75.25 MB / 1.25 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.9235, allocations: 15.17 MB / 1.265 GB, free: 84 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.926, allocations: 63.62 kB / 1.265 GB, free: 20 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002567/0.9286, allocations: 0.8346 MB / 1.266 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.006914/0.9356, allocations: 2.584 MB / 1.268 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.939, allocations: 1.396 MB / 1.27 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005658/0.9447, allocations: 4.392 MB / 1.274 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00227/0.947, allocations: 1.453 MB / 1.276 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003716/0.9507, allocations: 1.634 MB / 1.277 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.9528, allocations: 1.218 MB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.9532, allocations: 164 kB / 1.278 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003058/0.9563, allocations: 1.4 MB / 1.28 GB, free: 0.8945 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004664/0.9568, allocations: 402.5 kB / 1.28 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001356/0.9581, allocations: 0.906 MB / 1.281 GB, free: 15.59 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004243/0.9624, allocations: 2.853 MB / 1.284 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.9624, allocations: 0 / 1.284 GB, free: 12.73 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9624, allocations: 0 / 1.284 GB, free: 12.73 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.336e-05/0.9625, allocations: 0 / 1.284 GB, free: 12.73 MB / 1.014 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.00411/0.9666, allocations: 2.087 MB / 1.286 GB, free: 10.58 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.9667, allocations: 12.03 kB / 1.286 GB, free: 10.57 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.9675, allocations: 234.7 kB / 1.286 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002381/0.9699, allocations: 1.513 MB / 1.288 GB, free: 8.766 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.688e-05/0.9699, allocations: 78 kB / 1.288 GB, free: 8.691 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/0.9701, allocations: 100 kB / 1.288 GB, free: 8.594 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.9721, allocations: 1.1 MB / 1.289 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.9722, allocations: 0 / 1.289 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9723, allocations: 44 kB / 1.289 GB, free: 7.414 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.655e-05/0.9723, allocations: 31.92 kB / 1.289 GB, free: 7.383 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/0.9743, allocations: 0.89 MB / 1.29 GB, free: 6.492 MB / 1.014 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.005738/0.98, allocations: 4.903 MB / 1.295 GB, free: 1.301 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.9815, allocations: 0.6197 MB / 1.295 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007053/0.9822, allocations: 349.2 kB / 1.296 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.9829, allocations: 0.8316 MB / 1.296 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9829, allocations: 43.11 kB / 1.296 GB, free: 15.27 MB / 1.029 GB Notification: Performance of pre-optimization done (n=61): time 2.294e-06/0.9829, allocations: 0 / 1.296 GB, free: 15.27 MB / 1.029 GB Notification: Performance of matching and sorting (n=61): time 0.007443/0.9903, allocations: 1.685 MB / 1.298 GB, free: 13.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.9904, allocations: 67.84 kB / 1.298 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.992, allocations: 1.234 MB / 1.299 GB, free: 12.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.367e-05/0.9921, allocations: 41.7 kB / 1.299 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004966/0.9926, allocations: 0.6027 MB / 1.3 GB, free: 11.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.9928, allocations: 216.8 kB / 1.3 GB, free: 11.36 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002242/0.993, allocations: 154.6 kB / 1.3 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9932, allocations: 330 kB / 1.301 GB, free: 10.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.9939, allocations: 292.7 kB / 1.301 GB, free: 10.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/0.9947, allocations: 0.489 MB / 1.301 GB, free: 10.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.9962, allocations: 0.709 MB / 1.302 GB, free: 9.254 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-06/0.9962, allocations: 3.938 kB / 1.302 GB, free: 9.25 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004722/1.001, allocations: 1.269 MB / 1.303 GB, free: 7.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.001, allocations: 11.98 kB / 1.303 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.001, allocations: 7.938 kB / 1.303 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005697/1.002, allocations: 129.1 kB / 1.303 GB, free: 7.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006246/1.002, allocations: 167.8 kB / 1.304 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008373/1.003, allocations: 0.6966 MB / 1.304 GB, free: 6.934 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009512/1.004, allocations: 127.1 kB / 1.304 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.247e-05/1.004, allocations: 35.98 kB / 1.304 GB, free: 6.773 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00104/1.005, allocations: 0.5488 MB / 1.305 GB, free: 6.223 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008352/1.006, allocations: 496.7 kB / 1.305 GB, free: 5.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/1.007, allocations: 0.7089 MB / 1.306 GB, free: 4.902 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/1.007, allocations: 0 / 1.306 GB, free: 4.902 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004668/1.012, allocations: 1.269 MB / 1.307 GB, free: 3.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.012, allocations: 11.98 kB / 1.307 GB, free: 3.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/1.012, allocations: 4 kB / 1.307 GB, free: 3.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/1.013, allocations: 141.1 kB / 1.308 GB, free: 3.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005772/1.013, allocations: 155.8 kB / 1.308 GB, free: 3.312 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007596/1.014, allocations: 0.7006 MB / 1.308 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009457/1.015, allocations: 103.5 kB / 1.308 GB, free: 2.484 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/1.015, allocations: 32 kB / 1.309 GB, free: 2.453 MB / 1.029 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.0001988/1.015, allocations: 227.1 kB / 1.309 GB, free: 2.227 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/1.015, allocations: 130.4 kB / 1.309 GB, free: 2.098 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004708/1.02, allocations: 1.279 MB / 1.31 GB, free: 0.8008 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004271/1.024, allocations: 1.1 MB / 1.311 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.024, allocations: 0 / 1.311 GB, free: 15.66 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004362/1.025, allocations: 295.2 kB / 1.311 GB, free: 15.35 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/1.025, allocations: 15.98 kB / 1.311 GB, free: 15.34 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007588/1.026, allocations: 55.88 kB / 1.312 GB, free: 15.28 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.026, allocations: 48.48 kB / 1.312 GB, free: 15.23 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002773/1.029, allocations: 0.9637 MB / 1.313 GB, free: 14.27 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002502/1.031, allocations: 1.335 MB / 1.314 GB, free: 12.91 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006773/1.032, allocations: 324.3 kB / 1.314 GB, free: 12.6 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001233/1.033, allocations: 0.8654 MB / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of Backend: time 2.8e-07/1.033, allocations: 0 / 1.315 GB, free: 11.73 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.003774/1.037, allocations: 1.37 MB / 1.316 GB, free: 10.36 MB / 1.045 GB Notification: Performance of SimCode: time 0.006246/1.043, allocations: 3.144 MB / 1.319 GB, free: 7.184 MB / 1.045 GB Notification: Performance of Templates: time 0.05202/1.095, allocations: 33.35 MB / 1.352 GB, free: 6.145 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches