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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 184.7 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.476/1.476, allocations: 221.3 MB / 0.7915 GB, free: 5.398 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008513, allocations: 80.03 kB / 0.9317 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.676e-05, allocations: 6.969 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3038, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.526, allocations: 431.4 MB / 1.64 GB, free: 3.09 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/1.526, allocations: 87.95 kB / 1.64 GB, free: 3.004 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.422/4.948, allocations: 0.8753 GB / 2.515 GB, free: 22.15 MB / 1.135 GB Notification: Performance of FrontEnd: time 3.106e-06/4.948, allocations: 4 kB / 2.515 GB, free: 22.14 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001989/4.948, allocations: 39.98 kB / 2.515 GB, free: 22.11 MB / 1.135 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.005635/4.954, allocations: 1.738 MB / 2.517 GB, free: 20.3 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.38e-05/4.954, allocations: 8.031 kB / 2.517 GB, free: 20.3 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/4.955, allocations: 239.9 kB / 2.517 GB, free: 20.06 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/4.959, allocations: 1.708 MB / 2.519 GB, free: 18.3 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.838e-05/4.959, allocations: 78 kB / 2.519 GB, free: 18.22 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/4.959, allocations: 107.9 kB / 2.519 GB, free: 18.12 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/4.961, allocations: 1.011 MB / 2.52 GB, free: 17.07 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/4.961, allocations: 3.938 kB / 2.52 GB, free: 17.07 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.525e-05/4.961, allocations: 40 kB / 2.52 GB, free: 17.03 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/4.961, allocations: 41.98 kB / 2.52 GB, free: 16.99 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/4.962, allocations: 0.7536 MB / 2.521 GB, free: 16.23 MB / 1.135 GB Warning: The model contains alias variables with conflicting start and/or 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.006038/4.968, allocations: 4.734 MB / 2.526 GB, free: 11.26 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009069/4.969, allocations: 0.5218 MB / 2.526 GB, free: 10.73 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/4.969, allocations: 264.5 kB / 2.526 GB, free: 10.47 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000512/4.97, allocations: 0.8355 MB / 2.527 GB, free: 9.449 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/4.97, allocations: 39.12 kB / 2.527 GB, free: 9.398 MB / 1.135 GB Notification: Performance of pre-optimization done (n=59): time 3.066e-06/4.97, allocations: 0 / 2.527 GB, free: 9.398 MB / 1.135 GB Notification: Performance of matching and sorting (n=59): time 0.003859/4.974, allocations: 1.029 MB / 2.528 GB, free: 8.359 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/4.974, allocations: 59.91 kB / 2.528 GB, free: 8.289 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/4.976, allocations: 1.093 MB / 2.529 GB, free: 7.184 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/4.976, allocations: 41.7 kB / 2.529 GB, free: 7.137 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004674/4.976, allocations: 0.6338 MB / 2.53 GB, free: 6.496 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/4.976, allocations: 213 kB / 2.53 GB, free: 6.285 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/4.976, allocations: 8 kB / 2.53 GB, free: 6.277 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.0001209/4.976, allocations: 338 kB / 2.531 GB, free: 5.941 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/4.977, allocations: 201.5 kB / 2.531 GB, free: 5.746 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004952/4.977, allocations: 435.1 kB / 2.531 GB, free: 5.227 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/4.978, allocations: 273.3 kB / 2.531 GB, free: 4.961 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/4.978, allocations: 0 / 2.531 GB, free: 4.961 MB / 1.135 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003843/4.982, allocations: 1.181 MB / 2.533 GB, free: 3.766 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004605/4.982, allocations: 1.42 MB / 2.534 GB, free: 2.262 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/4.982, allocations: 4 kB / 2.534 GB, free: 2.258 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005009/4.983, allocations: 120.7 kB / 2.534 GB, free: 2.137 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/4.983, allocations: 155.8 kB / 2.534 GB, free: 1.984 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006155/4.984, allocations: 0.6693 MB / 2.535 GB, free: 1.289 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/4.985, allocations: 159 kB / 2.535 GB, free: 1.133 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-05/4.986, allocations: 43.98 kB / 2.535 GB, free: 1.09 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/4.986, allocations: 0 / 2.535 GB, free: 1.09 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003464/4.989, allocations: 1.036 MB / 2.536 GB, free: 48 kB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/4.989, allocations: 0 / 2.536 GB, free: 48 kB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003988/4.989, allocations: 113.1 kB / 2.536 GB, free: 15.93 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/4.99, allocations: 155.8 kB / 2.536 GB, free: 15.78 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006256/4.991, allocations: 0.6655 MB / 2.537 GB, free: 15.09 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/4.992, allocations: 151.1 kB / 2.537 GB, free: 14.94 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/4.992, allocations: 39.98 kB / 2.537 GB, free: 14.9 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002914/4.993, allocations: 142.1 kB / 2.537 GB, free: 14.76 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002714/4.993, allocations: 138.2 kB / 2.537 GB, free: 14.62 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004333/4.997, allocations: 1.165 MB / 2.539 GB, free: 13.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/4.997, allocations: 12 kB / 2.539 GB, free: 13.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/4.997, allocations: 4 kB / 2.539 GB, free: 13.43 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003567/5.001, allocations: 1.061 MB / 2.54 GB, free: 12.34 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00686/5.008, allocations: 2.499 MB / 2.542 GB, free: 9.734 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/5.008, allocations: 4 kB / 2.542 GB, free: 9.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/5.008, allocations: 132.2 kB / 2.542 GB, free: 9.602 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003447/5.009, allocations: 100.8 kB / 2.542 GB, free: 9.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.857e-05/5.009, allocations: 19.94 kB / 2.542 GB, free: 9.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/5.013, allocations: 2.228 MB / 2.544 GB, free: 7.102 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/5.013, allocations: 7.984 kB / 2.544 GB, free: 7.094 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004963/5.018, allocations: 1.766 MB / 2.546 GB, free: 5.141 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/5.019, allocations: 331.1 kB / 2.547 GB, free: 4.797 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001612/5.019, allocations: 12 kB / 2.547 GB, free: 4.785 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008787/5.02, allocations: 87.83 kB / 2.547 GB, free: 4.699 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/5.02, allocations: 60.27 kB / 2.547 GB, free: 4.641 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/5.02, allocations: 31.98 kB / 2.547 GB, free: 4.609 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001561/5.022, allocations: 0.8803 MB / 2.548 GB, free: 3.727 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.81e-07/5.022, allocations: 0 / 2.548 GB, free: 3.727 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002749/5.024, allocations: 0.7995 MB / 2.548 GB, free: 2.926 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001876/5.026, allocations: 0.7993 MB / 2.549 GB, free: 2.129 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002164/5.028, allocations: 0.9215 MB / 2.55 GB, free: 1.207 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/5.028, allocations: 3.938 kB / 2.55 GB, free: 1.203 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/5.03, allocations: 0.5175 MB / 2.551 GB, free: 0.6758 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003986/5.034, allocations: 0.7507 MB / 2.551 GB, free: 15.94 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00429/5.038, allocations: 1.78 MB / 2.553 GB, free: 14.09 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/5.039, allocations: 1.205 MB / 2.554 GB, free: 12.86 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002013/5.041, allocations: 386.9 kB / 2.555 GB, free: 12.47 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/5.041, allocations: 83.34 kB / 2.555 GB, free: 12.39 MB / 1.167 GB Notification: Performance of SimCode: time 1.442e-06/5.041, allocations: 4 kB / 2.555 GB, free: 12.39 MB / 1.167 GB Notification: Performance of Templates: time 0.9758/6.017, allocations: 36.47 MB / 2.59 GB, free: 235.4 MB / 1.167 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","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches