Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.525/2.525, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001367/0.001368, allocations: 176 kB / 0.4902 GB, free: 2.25 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.872/1.872, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001121/0.001121, allocations: 94.5 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 7.188 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.322, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.453, allocations: 438.1 MB / 1.657 GB, free: 7.797 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003002/1.453, allocations: 93.8 kB / 1.657 GB, free: 7.746 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.056/6.51, allocations: 1.31 GB / 2.967 GB, free: 178 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.597e-06/6.51, allocations: 0 / 2.967 GB, free: 178 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0005001/6.51, allocations: 70.67 kB / 2.967 GB, free: 178 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.01349/6.524, allocations: 3.111 MB / 2.97 GB, free: 176.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/6.524, allocations: 11.28 kB / 2.97 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005408/6.529, allocations: 0.8911 MB / 2.971 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00846/6.538, allocations: 2.592 MB / 2.974 GB, free: 175.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/6.539, allocations: 322.5 kB / 2.974 GB, free: 175.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000827/6.54, allocations: 165.9 kB / 2.974 GB, free: 175.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006407/6.546, allocations: 1.973 MB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-05/6.546, allocations: 5.969 kB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003515/6.547, allocations: 59.94 kB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.663e-05/6.547, allocations: 64.16 kB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005409/6.552, allocations: 1.871 MB / 2.978 GB, free: 175.3 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.01728/6.569, allocations: 8.824 MB / 2.987 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004585/6.574, allocations: 1.368 MB / 2.988 GB, free: 171.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001168/6.575, allocations: 1.735 MB / 2.99 GB, free: 169.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.086e-05/6.575, allocations: 40.81 kB / 2.99 GB, free: 169.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 4.538e-06/6.575, allocations: 0 / 2.99 GB, free: 169.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02168/6.597, allocations: 4.417 MB / 2.994 GB, free: 168.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.082e-05/6.597, allocations: 87.23 kB / 2.994 GB, free: 168.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006857/6.604, allocations: 2.27 MB / 2.996 GB, free: 168 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004312/6.604, allocations: 48.67 kB / 2.996 GB, free: 167.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001322/6.606, allocations: 1.061 MB / 2.997 GB, free: 167.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005714/6.606, allocations: 275.6 kB / 2.998 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/6.607, allocations: 15.88 kB / 2.998 GB, free: 166.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001336/6.607, allocations: 339.2 kB / 2.998 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/6.609, allocations: 0.5886 MB / 2.999 GB, free: 166.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002284/6.611, allocations: 1.028 MB / 3 GB, free: 165.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/6.613, allocations: 0.6499 MB / 3 GB, free: 165.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/6.613, allocations: 3.281 kB / 3 GB, free: 165.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.007262/6.62, allocations: 2.139 MB / 3.002 GB, free: 164.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/6.62, allocations: 7.094 kB / 3.002 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/6.62, allocations: 10.5 kB / 3.002 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003811/6.624, allocations: 1.07 MB / 3.003 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/6.625, allocations: 242.9 kB / 3.004 GB, free: 164.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00351/6.629, allocations: 2.024 MB / 3.006 GB, free: 163.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003925/6.633, allocations: 460.1 kB / 3.006 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002954/6.633, allocations: 62.92 kB / 3.006 GB, free: 162.9 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.001654/6.635, allocations: 453.6 kB / 3.006 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/6.636, allocations: 256.1 kB / 3.007 GB, free: 162.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007328/6.643, allocations: 2.083 MB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/6.643, allocations: 14.11 kB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/6.643, allocations: 0 / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/6.643, allocations: 7.938 kB / 3.009 GB, free: 161.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009975/6.653, allocations: 3.786 MB / 3.012 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/6.653, allocations: 3.625 kB / 3.012 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000381/6.653, allocations: 92.19 kB / 3.013 GB, free: 158.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/6.657, allocations: 1.062 MB / 3.014 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/6.657, allocations: 26.89 kB / 3.014 GB, free: 158.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003341/6.66, allocations: 2.05 MB / 3.016 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/6.66, allocations: 7.562 kB / 3.016 GB, free: 156.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/6.667, allocations: 2.344 MB / 3.018 GB, free: 155.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002287/6.669, allocations: 0.5186 MB / 3.018 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001411/6.671, allocations: 19.27 kB / 3.018 GB, free: 154.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003368/6.674, allocations: 195.1 kB / 3.019 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001383/6.674, allocations: 64.95 kB / 3.019 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001666/6.674, allocations: 47.11 kB / 3.019 GB, free: 154.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00505/6.679, allocations: 1.806 MB / 3.021 GB, free: 153.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.2e-07/6.679, allocations: 0 / 3.021 GB, free: 153.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00426/6.684, allocations: 0.8153 MB / 3.021 GB, free: 153.4 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.003238/6.687, allocations: 1.271 MB / 3.023 GB, free: 152.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004668/6.692, allocations: 1.428 MB / 3.024 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/6.692, allocations: 0 / 3.024 GB, free: 152.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/6.694, allocations: 0.7171 MB / 3.025 GB, free: 151.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007793/6.702, allocations: 1.286 MB / 3.026 GB, free: 151.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/6.712, allocations: 4.246 MB / 3.03 GB, free: 147.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/6.714, allocations: 1.536 MB / 3.032 GB, free: 146.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002968/6.717, allocations: 420 kB / 3.032 GB, free: 146 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007156/6.718, allocations: 155.4 kB / 3.032 GB, free: 145.8 MB / 1.167 GB Notification: Performance of SimCode: time 1.242e-06/6.718, allocations: 0 / 3.032 GB, free: 145.8 MB / 1.167 GB Notification: Performance of Templates: time 0.09394/6.811, allocations: 57.1 MB / 3.088 GB, free: 90.57 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches