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 12.0.0-master/package.mo", uses=false) 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.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.001215/0.001215, allocations: 108.5 kB / 16.41 MB, free: 6.473 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.001309/0.001309, allocations: 192.3 kB / 17.35 MB, free: 5.711 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.381/1.381, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.669/2.669, allocations: 472.7 MB / 0.746 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 63.91 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.876/0.8775, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07648/0.954, allocations: 75.25 MB / 1.3 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0223/0.9763, allocations: 15.16 MB / 1.315 GB, free: 2.812 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.9794, allocations: 67.62 kB / 1.315 GB, free: 2.746 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002655/0.9821, allocations: 0.8579 MB / 1.316 GB, free: 1.883 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008142/0.9903, allocations: 2.718 MB / 1.318 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003841/0.9942, allocations: 1.403 MB / 1.32 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.006544/1.001, allocations: 4.406 MB / 1.324 GB, free: 9.344 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.003, allocations: 1.452 MB / 1.325 GB, free: 7.863 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/1.008, allocations: 1.677 MB / 1.327 GB, free: 6.188 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002623/1.01, allocations: 1.217 MB / 1.328 GB, free: 4.965 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004024/1.011, allocations: 164 kB / 1.328 GB, free: 4.805 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/1.014, allocations: 1.4 MB / 1.33 GB, free: 3.402 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0005574/1.015, allocations: 402.6 kB / 1.33 GB, free: 3.008 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001528/1.017, allocations: 0.9021 MB / 1.331 GB, free: 2.102 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005327/1.022, allocations: 2.866 MB / 1.334 GB, free: 15.23 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.022, allocations: 4 kB / 1.334 GB, free: 15.22 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.114e-06/1.022, allocations: 0 / 1.334 GB, free: 15.22 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.772e-05/1.022, allocations: 0 / 1.334 GB, free: 15.22 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003842/1.026, allocations: 2.139 MB / 1.336 GB, free: 13.01 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.026, allocations: 8.031 kB / 1.336 GB, free: 13 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008361/1.027, allocations: 239.7 kB / 1.336 GB, free: 12.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002714/1.029, allocations: 1.537 MB / 1.338 GB, free: 11.18 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/1.03, allocations: 74 kB / 1.338 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001606/1.03, allocations: 104 kB / 1.338 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/1.032, allocations: 1.104 MB / 1.339 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/1.032, allocations: 0 / 1.339 GB, free: 9.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/1.032, allocations: 39.94 kB / 1.339 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.243e-05/1.032, allocations: 28 kB / 1.339 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/1.034, allocations: 0.8939 MB / 1.34 GB, free: 8.91 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.006702/1.041, allocations: 4.92 MB / 1.345 GB, free: 3.703 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001437/1.042, allocations: 0.612 MB / 1.345 GB, free: 3.082 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006805/1.043, allocations: 350.3 kB / 1.345 GB, free: 2.738 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006511/1.043, allocations: 0.8277 MB / 1.346 GB, free: 1.727 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/1.043, allocations: 43.06 kB / 1.346 GB, free: 1.676 MB / 1.061 GB Notification: Performance of pre-optimization done (n=61): time 3.767e-06/1.043, allocations: 0 / 1.346 GB, free: 1.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=61): time 0.006928/1.05, allocations: 1.698 MB / 1.348 GB, free: 15.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.05, allocations: 55.97 kB / 1.348 GB, free: 15.88 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/1.052, allocations: 1.226 MB / 1.349 GB, free: 14.64 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.053, allocations: 45.7 kB / 1.349 GB, free: 14.59 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/1.053, allocations: 0.6113 MB / 1.35 GB, free: 13.97 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/1.053, allocations: 226.1 kB / 1.35 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002647/1.054, allocations: 154.6 kB / 1.35 GB, free: 13.59 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.054, allocations: 334 kB / 1.351 GB, free: 13.26 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006794/1.055, allocations: 292.6 kB / 1.351 GB, free: 12.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008684/1.055, allocations: 0.4929 MB / 1.351 GB, free: 12.4 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/1.057, allocations: 0.7129 MB / 1.352 GB, free: 11.64 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/1.057, allocations: 7.938 kB / 1.352 GB, free: 11.63 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004898/1.062, allocations: 1.277 MB / 1.353 GB, free: 10.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/1.062, allocations: 4 kB / 1.353 GB, free: 10.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.062, allocations: 4.375 kB / 1.353 GB, free: 10.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006151/1.063, allocations: 140.7 kB / 1.353 GB, free: 10.19 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/1.063, allocations: 155.7 kB / 1.354 GB, free: 10.04 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008968/1.064, allocations: 0.7123 MB / 1.354 GB, free: 9.301 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/1.065, allocations: 127.2 kB / 1.354 GB, free: 9.176 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.109e-05/1.065, allocations: 31.98 kB / 1.354 GB, free: 9.145 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001194/1.067, allocations: 0.5566 MB / 1.355 GB, free: 8.582 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008915/1.068, allocations: 492.8 kB / 1.355 GB, free: 8.023 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001418/1.069, allocations: 0.705 MB / 1.356 GB, free: 7.273 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.693e-06/1.069, allocations: 4 kB / 1.356 GB, free: 7.27 MB / 1.076 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004654/1.074, allocations: 1.266 MB / 1.357 GB, free: 5.992 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.074, allocations: 8 kB / 1.357 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/1.074, allocations: 4 kB / 1.357 GB, free: 5.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005091/1.074, allocations: 133.1 kB / 1.357 GB, free: 5.848 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008579/1.075, allocations: 167.7 kB / 1.358 GB, free: 5.684 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008236/1.076, allocations: 0.7045 MB / 1.358 GB, free: 4.953 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/1.077, allocations: 99.55 kB / 1.358 GB, free: 4.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.883e-05/1.077, allocations: 35.98 kB / 1.358 GB, free: 4.82 MB / 1.076 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.0002723/1.077, allocations: 236 kB / 1.359 GB, free: 4.582 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/1.078, allocations: 143 kB / 1.359 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004512/1.082, allocations: 1.268 MB / 1.36 GB, free: 3.156 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003874/1.086, allocations: 1.103 MB / 1.361 GB, free: 2.016 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/1.086, allocations: 0 / 1.361 GB, free: 2.016 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/1.087, allocations: 303.9 kB / 1.361 GB, free: 1.699 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002682/1.087, allocations: 12 kB / 1.361 GB, free: 1.688 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007763/1.088, allocations: 59.86 kB / 1.361 GB, free: 1.629 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/1.088, allocations: 44.5 kB / 1.362 GB, free: 1.586 MB / 1.076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00254/1.091, allocations: 0.9678 MB / 1.362 GB, free: 0.6094 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002378/1.093, allocations: 1.336 MB / 1.364 GB, free: 15.25 MB / 1.092 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006376/1.094, allocations: 328.3 kB / 1.364 GB, free: 14.94 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001393/1.095, allocations: 0.8577 MB / 1.365 GB, free: 14.08 MB / 1.092 GB Notification: Performance of Backend: time 6.41e-07/1.095, allocations: 0 / 1.365 GB, free: 14.08 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.00409/1.099, allocations: 1.39 MB / 1.366 GB, free: 12.68 MB / 1.092 GB Notification: Performance of SimCode: time 0.005807/1.105, allocations: 3.189 MB / 1.369 GB, free: 9.461 MB / 1.092 GB Notification: Performance of Templates: time 0.05269/1.158, allocations: 33.59 MB / 1.402 GB, free: 8.184 MB / 1.123 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