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.443/2.443, 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.001095/0.001095, allocations: 184.8 kB / 496.1 MB, free: 12.88 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.645/1.645, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0009082/0.0009079, allocations: 95.94 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.998e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 143 MB / 1.219 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.655, allocations: 438.1 MB / 1.647 GB, free: 12.43 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.655, allocations: 96.66 kB / 1.647 GB, free: 12.34 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.874/6.529, allocations: 1.306 GB / 2.953 GB, free: 16.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.964e-06/6.529, allocations: 0 / 2.953 GB, free: 16.12 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000261/6.529, allocations: 67.97 kB / 2.953 GB, free: 16.05 MB / 1.151 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.006972/6.536, allocations: 2.626 MB / 2.955 GB, free: 13.35 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/6.536, allocations: 8.031 kB / 2.955 GB, free: 13.34 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00461/6.541, allocations: 0.8904 MB / 2.956 GB, free: 12.45 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005786/6.547, allocations: 2.581 MB / 2.959 GB, free: 9.793 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008774/6.548, allocations: 318.8 kB / 2.959 GB, free: 9.48 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004329/6.548, allocations: 160.9 kB / 2.959 GB, free: 9.324 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/6.551, allocations: 1.718 MB / 2.961 GB, free: 7.531 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/6.551, allocations: 3.953 kB / 2.961 GB, free: 7.527 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001428/6.551, allocations: 60 kB / 2.961 GB, free: 7.469 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/6.551, allocations: 63.98 kB / 2.961 GB, free: 7.406 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/6.553, allocations: 1.367 MB / 2.962 GB, free: 6.039 MB / 1.151 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.0126/6.566, allocations: 8.827 MB / 2.971 GB, free: 12.67 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003297/6.569, allocations: 1.132 MB / 2.972 GB, free: 11.53 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000572/6.57, allocations: 369.6 kB / 2.972 GB, free: 11.16 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/6.571, allocations: 1.731 MB / 2.974 GB, free: 9.043 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/6.571, allocations: 42.56 kB / 2.974 GB, free: 8.992 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 2.485e-06/6.571, allocations: 4 kB / 2.974 GB, free: 8.988 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.006548/6.578, allocations: 1.675 MB / 2.976 GB, free: 7.293 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/6.578, allocations: 85.11 kB / 2.976 GB, free: 7.191 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/6.582, allocations: 2.12 MB / 2.978 GB, free: 5.055 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002656/6.582, allocations: 49.7 kB / 2.978 GB, free: 5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/6.583, allocations: 1.057 MB / 2.979 GB, free: 3.934 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/6.583, allocations: 280 kB / 2.979 GB, free: 3.656 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.634e-05/6.583, allocations: 20 kB / 2.979 GB, free: 3.637 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001524/6.583, allocations: 341.9 kB / 2.979 GB, free: 3.297 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006778/6.584, allocations: 357.9 kB / 2.98 GB, free: 2.949 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009869/6.585, allocations: 0.7772 MB / 2.981 GB, free: 1.992 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007099/6.586, allocations: 431 kB / 2.981 GB, free: 1.574 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/6.586, allocations: 4 kB / 2.981 GB, free: 1.57 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003946/6.59, allocations: 1.563 MB / 2.982 GB, free: 15.99 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/6.59, allocations: 8 kB / 2.982 GB, free: 15.98 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/6.59, allocations: 8 kB / 2.982 GB, free: 15.97 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/6.593, allocations: 0.8988 MB / 2.983 GB, free: 15.07 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/6.594, allocations: 231.7 kB / 2.984 GB, free: 14.84 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/6.596, allocations: 1.759 MB / 2.985 GB, free: 13.04 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/6.6, allocations: 461.9 kB / 2.986 GB, free: 12.58 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002615/6.6, allocations: 63.95 kB / 2.986 GB, free: 12.52 MB / 1.182 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 () * 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.000299/6.6, allocations: 176.7 kB / 2.986 GB, free: 12.34 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/6.601, allocations: 252.9 kB / 2.986 GB, free: 12.09 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005452/6.606, allocations: 1.766 MB / 2.988 GB, free: 10.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.501e-05/6.606, allocations: 19.98 kB / 2.988 GB, free: 10.29 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/6.606, allocations: 0 / 2.988 GB, free: 10.29 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.376e-05/6.606, allocations: 3.984 kB / 2.988 GB, free: 10.28 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008127/6.614, allocations: 3.466 MB / 2.991 GB, free: 6.707 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/6.615, allocations: 4 kB / 2.991 GB, free: 6.703 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003727/6.615, allocations: 96.25 kB / 2.991 GB, free: 6.609 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002689/6.618, allocations: 0.8799 MB / 2.992 GB, free: 5.727 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.564e-05/6.618, allocations: 31.97 kB / 2.992 GB, free: 5.695 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/6.62, allocations: 1.774 MB / 2.994 GB, free: 3.871 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/6.62, allocations: 8 kB / 2.994 GB, free: 3.863 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004783/6.625, allocations: 2.028 MB / 2.996 GB, free: 1.652 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/6.627, allocations: 0.5209 MB / 2.997 GB, free: 1.109 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/6.627, allocations: 20 kB / 2.997 GB, free: 1.09 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/6.629, allocations: 191.7 kB / 2.997 GB, free: 0.9023 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/6.63, allocations: 67.59 kB / 2.997 GB, free: 0.8359 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/6.63, allocations: 47.89 kB / 2.997 GB, free: 0.7891 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.8327/7.462, allocations: 1.647 MB / 2.998 GB, free: 158.8 MB / 1.182 GB Notification: Performance of sort global known variables: time 8.12e-07/7.462, allocations: 1 kB / 2.998 GB, free: 158.8 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004697/7.467, allocations: 0.816 MB / 2.999 GB, free: 158.8 MB / 1.182 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.002994/7.47, allocations: 1.253 MB / 3 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00337/7.473, allocations: 1.071 MB / 3.002 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.413e-06/7.474, allocations: 0.9688 kB / 3.002 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001864/7.475, allocations: 0.5964 MB / 3.002 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008296/7.484, allocations: 1.282 MB / 3.003 GB, free: 158.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007522/7.491, allocations: 2.679 MB / 3.006 GB, free: 157.7 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00166/7.493, allocations: 1.534 MB / 3.007 GB, free: 156.9 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003041/7.496, allocations: 423.2 kB / 3.008 GB, free: 156.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004488/7.496, allocations: 160.2 kB / 3.008 GB, free: 156.9 MB / 1.182 GB Notification: Performance of SimCode: time 1.503e-06/7.496, allocations: 3.719 kB / 3.008 GB, free: 156.9 MB / 1.182 GB Notification: Performance of Templates: time 0.1141/7.611, allocations: 58.44 MB / 3.065 GB, free: 155.3 MB / 1.182 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