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.389/2.389, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001214/0.001215, allocations: 179.1 kB / 0.4902 GB, free: 2.242 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.566/1.566, allocations: 223.2 MB / 0.7992 GB, free: 14.65 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.001048/0.001048, allocations: 96.16 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005407/0.0005406, allocations: 14.22 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3704, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.638, allocations: 438 MB / 1.657 GB, free: 7.98 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/1.638, allocations: 97.88 kB / 1.657 GB, free: 7.926 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.967/6.604, allocations: 1.31 GB / 2.967 GB, free: 178.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.394e-06/6.604, allocations: 3.469 kB / 2.967 GB, free: 178.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004691/6.605, allocations: 70.59 kB / 2.967 GB, free: 178.3 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.0113/6.616, allocations: 3.104 MB / 2.97 GB, free: 176.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/6.616, allocations: 10.88 kB / 2.97 GB, free: 176.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005023/6.621, allocations: 0.8911 MB / 2.971 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007446/6.629, allocations: 2.595 MB / 2.973 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/6.63, allocations: 319.2 kB / 2.974 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/6.631, allocations: 164.5 kB / 2.974 GB, free: 176 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004872/6.635, allocations: 1.978 MB / 2.976 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.749e-05/6.635, allocations: 2.344 kB / 2.976 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002003/6.636, allocations: 61.19 kB / 2.976 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.109e-05/6.636, allocations: 64.45 kB / 2.976 GB, free: 175.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004695/6.64, allocations: 1.862 MB / 2.978 GB, free: 175.8 MB / 1.167 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.01303/6.653, allocations: 8.803 MB / 2.986 GB, free: 171.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004088/6.658, allocations: 1.37 MB / 2.988 GB, free: 171.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008573/6.658, allocations: 1.735 MB / 2.989 GB, free: 169.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/6.659, allocations: 39.84 kB / 2.989 GB, free: 169.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 2.575e-06/6.659, allocations: 0 / 2.989 GB, free: 169.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02008/6.679, allocations: 4.402 MB / 2.994 GB, free: 169.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/6.679, allocations: 87.36 kB / 2.994 GB, free: 169.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005124/6.684, allocations: 2.243 MB / 2.996 GB, free: 168.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004649/6.684, allocations: 49.45 kB / 2.996 GB, free: 168.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001042/6.685, allocations: 1.056 MB / 2.997 GB, free: 167.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/6.686, allocations: 275.3 kB / 2.997 GB, free: 167.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.924e-05/6.686, allocations: 15.59 kB / 2.997 GB, free: 167.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001144/6.686, allocations: 341.4 kB / 2.998 GB, free: 167.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/6.688, allocations: 0.5926 MB / 2.998 GB, free: 167 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/6.689, allocations: 1.02 MB / 2.999 GB, free: 166.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/6.691, allocations: 0.6505 MB / 3 GB, free: 166.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/6.691, allocations: 7.75 kB / 3 GB, free: 166.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.005988/6.697, allocations: 2.136 MB / 3.002 GB, free: 165.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/6.697, allocations: 8.094 kB / 3.002 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/6.697, allocations: 11.03 kB / 3.002 GB, free: 165.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00291/6.7, allocations: 0.9488 MB / 3.003 GB, free: 165.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000891/6.701, allocations: 238.1 kB / 3.003 GB, free: 165.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003091/6.704, allocations: 2.017 MB / 3.005 GB, free: 163.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003267/6.707, allocations: 455.1 kB / 3.006 GB, free: 163.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/6.708, allocations: 62.97 kB / 3.006 GB, free: 163.5 MB / 1.167 GB 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 () * Number of clocked 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.001096/6.709, allocations: 458.7 kB / 3.006 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/6.709, allocations: 254.6 kB / 3.006 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005916/6.715, allocations: 2.083 MB / 3.008 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.712e-05/6.715, allocations: 15.44 kB / 3.008 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/6.715, allocations: 1.312 kB / 3.008 GB, free: 162 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/6.715, allocations: 7.938 kB / 3.008 GB, free: 161.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/6.722, allocations: 3.762 MB / 3.012 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/6.722, allocations: 3.281 kB / 3.012 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/6.722, allocations: 95.66 kB / 3.012 GB, free: 159.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/6.725, allocations: 0.9462 MB / 3.013 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.879e-05/6.725, allocations: 23.83 kB / 3.013 GB, free: 159 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00302/6.728, allocations: 2.037 MB / 3.015 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/6.728, allocations: 7 kB / 3.015 GB, free: 157.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/6.734, allocations: 2.34 MB / 3.017 GB, free: 155.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001757/6.736, allocations: 0.5139 MB / 3.018 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008991/6.737, allocations: 31.5 kB / 3.018 GB, free: 155.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002544/6.739, allocations: 192.9 kB / 3.018 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/6.739, allocations: 62.39 kB / 3.018 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001353/6.74, allocations: 37.38 kB / 3.018 GB, free: 155.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003403/6.743, allocations: 1.791 MB / 3.02 GB, free: 154.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.8e-07/6.743, allocations: 0 / 3.02 GB, free: 154.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003318/6.746, allocations: 0.8069 MB / 3.021 GB, free: 154.1 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 () * Number of clocked 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.001994/6.748, allocations: 1.27 MB / 3.022 GB, free: 153.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003959/6.752, allocations: 1.426 MB / 3.023 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/6.752, allocations: 6.219 kB / 3.023 GB, free: 152.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/6.754, allocations: 0.7131 MB / 3.024 GB, free: 152.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006272/6.761, allocations: 1.276 MB / 3.025 GB, free: 152 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007851/6.768, allocations: 4.213 MB / 3.029 GB, free: 148.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001262/6.77, allocations: 1.536 MB / 3.031 GB, free: 147.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002258/6.772, allocations: 418.7 kB / 3.031 GB, free: 146.8 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/6.772, allocations: 155.4 kB / 3.031 GB, free: 146.7 MB / 1.167 GB Notification: Performance of SimCode: time 6.92e-07/6.772, allocations: 7.938 kB / 3.031 GB, free: 146.7 MB / 1.167 GB Notification: Performance of Templates: time 0.08242/6.855, allocations: 56.84 MB / 3.087 GB, free: 91.63 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