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.416/2.416, allocations: 390.5 MB / 398 MB, free: 11 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.001283/0.001284, allocations: 176.9 kB / 491.2 MB, free: 1.617 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.734/1.734, allocations: 221.5 MB / 0.7868 GB, free: 13.28 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.0009407/0.0009408, allocations: 90.7 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.926e-05/1.928e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3266, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.458/1.785, allocations: 437.4 MB / 1.639 GB, free: 10.04 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/1.785, allocations: 93.75 kB / 1.64 GB, free: 9.996 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.854/6.639, allocations: 1.3 GB / 2.939 GB, free: 136.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.013e-06/6.639, allocations: 0 / 2.939 GB, free: 136.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004396/6.639, allocations: 65.88 kB / 2.94 GB, free: 136.8 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.007748/6.647, allocations: 2.629 MB / 2.942 GB, free: 134.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/6.647, allocations: 8.031 kB / 2.942 GB, free: 134.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004787/6.652, allocations: 0.8941 MB / 2.943 GB, free: 133.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006626/6.659, allocations: 2.571 MB / 2.945 GB, free: 130.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008955/6.659, allocations: 265.7 kB / 2.946 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004979/6.66, allocations: 96 kB / 2.946 GB, free: 130.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002902/6.663, allocations: 1.252 MB / 2.947 GB, free: 129.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003223/6.666, allocations: 1.508 MB / 2.949 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/6.666, allocations: 3.188 kB / 2.949 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000217/6.666, allocations: 7.938 kB / 2.949 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.79e-05/6.666, allocations: 60 kB / 2.949 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.01254/6.679, allocations: 8.577 MB / 2.957 GB, free: 118.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/6.68, allocations: 0.8611 MB / 2.958 GB, free: 117.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/6.681, allocations: 341.2 kB / 2.958 GB, free: 117.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007635/6.682, allocations: 1.574 MB / 2.96 GB, free: 115.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/6.682, allocations: 44.88 kB / 2.96 GB, free: 115.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 2.966e-06/6.682, allocations: 0 / 2.96 GB, free: 115.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.00614/6.688, allocations: 1.598 MB / 2.961 GB, free: 113.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/6.688, allocations: 89.06 kB / 2.961 GB, free: 113.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002822/6.691, allocations: 1.56 MB / 2.963 GB, free: 111.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001465/6.691, allocations: 29.7 kB / 2.963 GB, free: 111.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007315/6.692, allocations: 1.07 MB / 2.964 GB, free: 110.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/6.692, allocations: 260.1 kB / 2.964 GB, free: 110.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/6.692, allocations: 4 kB / 2.964 GB, free: 110.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/6.692, allocations: 337.9 kB / 2.965 GB, free: 110.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004766/6.693, allocations: 342.6 kB / 2.965 GB, free: 109.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000681/6.693, allocations: 0.7462 MB / 2.966 GB, free: 108.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/6.695, allocations: 486.8 kB / 2.966 GB, free: 108.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/6.695, allocations: 4 kB / 2.966 GB, free: 108.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002986/6.698, allocations: 1.366 MB / 2.967 GB, free: 107.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/6.698, allocations: 13.59 kB / 2.967 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/6.698, allocations: 10.73 kB / 2.967 GB, free: 107.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002226/6.7, allocations: 0.85 MB / 2.968 GB, free: 106.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008548/6.701, allocations: 231.7 kB / 2.968 GB, free: 106 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002106/6.703, allocations: 1.821 MB / 2.97 GB, free: 104.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/6.706, allocations: 346 kB / 2.971 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/6.706, allocations: 63.95 kB / 2.971 GB, free: 103.7 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.000378/6.706, allocations: 152.4 kB / 2.971 GB, free: 103.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/6.707, allocations: 201.5 kB / 2.971 GB, free: 103.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005269/6.712, allocations: 1.626 MB / 2.973 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-05/6.712, allocations: 16 kB / 2.973 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/6.712, allocations: 0 / 2.973 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/6.712, allocations: 7.922 kB / 2.973 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00654/6.719, allocations: 3.226 MB / 2.976 GB, free: 98.43 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/6.719, allocations: 4 kB / 2.976 GB, free: 98.43 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003348/6.719, allocations: 96.19 kB / 2.976 GB, free: 98.33 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002015/6.721, allocations: 0.866 MB / 2.977 GB, free: 97.49 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.573e-05/6.721, allocations: 23 kB / 2.977 GB, free: 97.47 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/6.723, allocations: 1.826 MB / 2.978 GB, free: 95.59 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/6.723, allocations: 4 kB / 2.978 GB, free: 95.59 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003942/6.727, allocations: 1.886 MB / 2.98 GB, free: 93.54 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/6.728, allocations: 474.1 kB / 2.981 GB, free: 93.05 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005095/6.729, allocations: 4 kB / 2.981 GB, free: 93.05 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/6.731, allocations: 171.7 kB / 2.981 GB, free: 92.88 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.248e-05/6.731, allocations: 59.81 kB / 2.981 GB, free: 92.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.224e-05/6.731, allocations: 43.97 kB / 2.981 GB, free: 92.78 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002012/6.733, allocations: 1.181 MB / 2.982 GB, free: 91.58 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.733, allocations: 4 kB / 2.982 GB, free: 91.57 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003088/6.736, allocations: 0.8252 MB / 2.983 GB, free: 90.75 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.002298/6.738, allocations: 1.277 MB / 2.984 GB, free: 89.58 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002323/6.741, allocations: 1.012 MB / 2.985 GB, free: 88.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/6.741, allocations: 0 / 2.985 GB, free: 88.57 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001377/6.742, allocations: 0.5705 MB / 2.986 GB, free: 88 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004078/6.746, allocations: 0.8227 MB / 2.987 GB, free: 87.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/6.752, allocations: 2.565 MB / 2.989 GB, free: 84.56 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00129/6.753, allocations: 1.53 MB / 2.991 GB, free: 83 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001775/6.755, allocations: 349.2 kB / 2.991 GB, free: 82.68 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/6.755, allocations: 131.4 kB / 2.991 GB, free: 82.55 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/6.755, allocations: 4 kB / 2.991 GB, free: 82.55 MB / 1.167 GB Notification: Performance of Templates: time 0.06094/6.816, allocations: 40.97 MB / 3.031 GB, free: 42.43 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