Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.38/2.38, allocations: 390.5 MB / 398 MB, free: 10.91 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.002061/0.002061, allocations: 191 kB / 491.2 MB, free: 1.566 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 221.5 MB / 0.7868 GB, free: 13.32 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.0009922/0.0009922, allocations: 79.97 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.657e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3095, allocations: 143 MB / 1.212 GB, free: 39.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.353/1.663, allocations: 437.2 MB / 1.639 GB, free: 10.1 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/1.663, allocations: 93.75 kB / 1.639 GB, free: 10.05 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.766/6.429, allocations: 1.3 GB / 2.939 GB, free: 137 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.282e-06/6.429, allocations: 2.656 kB / 2.939 GB, free: 137 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004139/6.43, allocations: 65.42 kB / 2.939 GB, free: 136.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007321/6.437, allocations: 2.619 MB / 2.942 GB, free: 134.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/6.437, allocations: 11.91 kB / 2.942 GB, free: 134.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004688/6.442, allocations: 0.8846 MB / 2.943 GB, free: 133.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005739/6.448, allocations: 2.576 MB / 2.945 GB, free: 130.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008701/6.448, allocations: 258.8 kB / 2.946 GB, free: 130.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/6.449, allocations: 96 kB / 2.946 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002231/6.451, allocations: 1.252 MB / 2.947 GB, free: 129.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003256/6.454, allocations: 1.508 MB / 2.948 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.358e-05/6.454, allocations: 0 / 2.948 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/6.455, allocations: 15.59 kB / 2.948 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.12e-05/6.455, allocations: 59.98 kB / 2.948 GB, free: 127.5 MB / 1.167 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.01693/6.472, allocations: 8.546 MB / 2.957 GB, free: 118.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/6.474, allocations: 0.8559 MB / 2.958 GB, free: 117.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006531/6.474, allocations: 343.6 kB / 2.958 GB, free: 117.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001129/6.475, allocations: 1.577 MB / 2.959 GB, free: 115.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/6.476, allocations: 42.56 kB / 2.959 GB, free: 115.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 3.697e-06/6.476, allocations: 0 / 2.959 GB, free: 115.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.008933/6.484, allocations: 1.59 MB / 2.961 GB, free: 113.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/6.485, allocations: 85.06 kB / 2.961 GB, free: 113.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/6.488, allocations: 1.533 MB / 2.963 GB, free: 112.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003465/6.489, allocations: 25.7 kB / 2.963 GB, free: 112.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/6.489, allocations: 1.073 MB / 2.964 GB, free: 111 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003517/6.49, allocations: 264.2 kB / 2.964 GB, free: 110.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/6.49, allocations: 3.062 kB / 2.964 GB, free: 110.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/6.49, allocations: 341.9 kB / 2.964 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007525/6.491, allocations: 334.6 kB / 2.965 GB, free: 110 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009847/6.492, allocations: 0.75 MB / 2.965 GB, free: 109.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/6.494, allocations: 486.8 kB / 2.966 GB, free: 108.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.758e-06/6.494, allocations: 4 kB / 2.966 GB, free: 108.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.004562/6.498, allocations: 1.366 MB / 2.967 GB, free: 107.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/6.498, allocations: 8 kB / 2.967 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/6.498, allocations: 8 kB / 2.967 GB, free: 107.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/6.501, allocations: 0.7274 MB / 2.968 GB, free: 106.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/6.502, allocations: 239.6 kB / 2.968 GB, free: 106.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/6.506, allocations: 1.805 MB / 2.97 GB, free: 104.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/6.509, allocations: 354.8 kB / 2.97 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/6.51, allocations: 55.97 kB / 2.97 GB, free: 104 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003941/6.51, allocations: 151.5 kB / 2.97 GB, free: 103.9 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/6.511, allocations: 201.5 kB / 2.971 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006433/6.517, allocations: 1.624 MB / 2.972 GB, free: 102.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/6.517, allocations: 15.98 kB / 2.972 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/6.517, allocations: 0 / 2.972 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/6.517, allocations: 11.41 kB / 2.972 GB, free: 102 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008219/6.525, allocations: 3.215 MB / 2.975 GB, free: 98.74 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.013e-05/6.525, allocations: 4.375 kB / 2.975 GB, free: 98.73 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003543/6.526, allocations: 91.88 kB / 2.975 GB, free: 98.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/6.528, allocations: 0.7377 MB / 2.976 GB, free: 97.93 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.377e-05/6.528, allocations: 19.94 kB / 2.976 GB, free: 97.91 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/6.53, allocations: 1.818 MB / 2.978 GB, free: 96.04 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/6.53, allocations: 7.938 kB / 2.978 GB, free: 96.03 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/6.534, allocations: 1.885 MB / 2.98 GB, free: 93.98 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/6.536, allocations: 466.1 kB / 2.98 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006824/6.536, allocations: 4 kB / 2.98 GB, free: 93.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/6.538, allocations: 171.7 kB / 2.98 GB, free: 93.33 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/6.538, allocations: 63.81 kB / 2.98 GB, free: 93.27 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/6.539, allocations: 43.95 kB / 2.98 GB, free: 93.22 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002509/6.541, allocations: 1.153 MB / 2.982 GB, free: 92.05 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/6.541, allocations: 0 / 2.982 GB, free: 92.05 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003918/6.545, allocations: 0.8225 MB / 2.982 GB, free: 91.23 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002754/6.548, allocations: 1.278 MB / 2.984 GB, free: 90.06 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002471/6.55, allocations: 1.013 MB / 2.985 GB, free: 89.05 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/6.55, allocations: 0 / 2.985 GB, free: 89.05 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/6.552, allocations: 0.5806 MB / 2.985 GB, free: 88.47 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/6.556, allocations: 0.8272 MB / 2.986 GB, free: 87.68 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/6.563, allocations: 2.536 MB / 2.988 GB, free: 85.06 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001412/6.564, allocations: 1.526 MB / 2.99 GB, free: 83.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002039/6.566, allocations: 344.1 kB / 2.99 GB, free: 83.18 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005234/6.567, allocations: 135.4 kB / 2.99 GB, free: 83.05 MB / 1.167 GB Notification: Performance of SimCode: time 8.72e-07/6.567, allocations: 0 / 2.99 GB, free: 83.05 MB / 1.167 GB Notification: Performance of Templates: time 0.06544/6.632, allocations: 40.8 MB / 3.03 GB, free: 43.03 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches