Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.745/2.745, allocations: 437.7 MB / 0.7117 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.000396, allocations: 8 kB / 0.8722 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.875/0.8754, allocations: 153.8 MB / 1.022 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1216/0.9971, allocations: 122.2 MB / 1.142 GB, free: 5.449 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03279/1.03, allocations: 21.79 MB / 1.163 GB, free: 15.62 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005528/1.036, allocations: 107.2 kB / 1.163 GB, free: 15.51 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/1.04, allocations: 0.9934 MB / 1.164 GB, free: 14.51 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01157/1.051, allocations: 3.175 MB / 1.167 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006275/1.058, allocations: 1.518 MB / 1.169 GB, free: 9.824 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01183/1.069, allocations: 7.202 MB / 1.176 GB, free: 2.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005105/1.075, allocations: 1.668 MB / 1.177 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/1.082, allocations: 2.154 MB / 1.179 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005472/1.088, allocations: 1.672 MB / 1.181 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001238/1.089, allocations: 92 kB / 1.181 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/1.095, allocations: 1.228 MB / 1.182 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001431/1.097, allocations: 413.9 kB / 1.183 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002084/1.099, allocations: 0.555 MB / 1.183 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.006718/1.106, allocations: 3.142 MB / 1.186 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/1.106, allocations: 0 / 1.186 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.865e-06/1.106, allocations: 0 / 1.186 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0001741/1.106, allocations: 0 / 1.186 GB, free: 7.613 MB / 0.9356 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.007673/1.114, allocations: 2.709 MB / 1.189 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.114, allocations: 11.97 kB / 1.189 GB, free: 4.809 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/1.118, allocations: 0.945 MB / 1.19 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005953/1.124, allocations: 2.188 MB / 1.192 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009292/1.125, allocations: 322.9 kB / 1.192 GB, free: 1.281 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005281/1.126, allocations: 163.9 kB / 1.193 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005128/1.131, allocations: 1.973 MB / 1.195 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.837e-05/1.131, allocations: 0 / 1.195 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001994/1.131, allocations: 71.89 kB / 1.195 GB, free: 15.01 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/1.131, allocations: 36 kB / 1.195 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004932/1.136, allocations: 1.901 MB / 1.196 GB, free: 13.07 MB / 0.9512 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.01339/1.15, allocations: 9.094 MB / 1.205 GB, free: 3.375 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00387/1.153, allocations: 1.3 MB / 1.207 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.155, allocations: 489.4 kB / 1.207 GB, free: 1.574 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.156, allocations: 1.723 MB / 1.209 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.156, allocations: 46.55 kB / 1.209 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.836e-06/1.156, allocations: 0 / 1.209 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008162/1.164, allocations: 2.498 MB / 1.211 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/1.164, allocations: 85.11 kB / 1.211 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004407/1.168, allocations: 2.512 MB / 1.214 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/1.169, allocations: 45.7 kB / 1.214 GB, free: 10.18 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009332/1.17, allocations: 1.05 MB / 1.215 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/1.17, allocations: 276.2 kB / 1.215 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.781e-05/1.17, allocations: 24 kB / 1.215 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001517/1.17, allocations: 341.9 kB / 1.215 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/1.172, allocations: 0.6271 MB / 1.216 GB, free: 7.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001895/1.174, allocations: 1.005 MB / 1.217 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/1.175, allocations: 0.6894 MB / 1.218 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.175, allocations: 4 kB / 1.218 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00502/1.18, allocations: 1.963 MB / 1.22 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/1.18, allocations: 12.09 kB / 1.22 GB, free: 4.016 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.665e-05/1.181, allocations: 8 kB / 1.22 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00183/1.182, allocations: 0.5019 MB / 1.22 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.184, allocations: 299.6 kB / 1.22 GB, free: 3.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002049/1.186, allocations: 1.563 MB / 1.222 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/1.189, allocations: 479.4 kB / 1.222 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001741/1.189, allocations: 59.97 kB / 1.222 GB, free: 1.066 MB / 0.9669 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 (111): * Single equations (assignments): 109 * 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 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001036/1.19, allocations: 461.5 kB / 1.223 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/1.191, allocations: 249 kB / 1.223 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003479/1.194, allocations: 1.554 MB / 1.225 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/1.194, allocations: 8 kB / 1.225 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.194, allocations: 4 kB / 1.225 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/1.194, allocations: 3.984 kB / 1.225 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007434/1.202, allocations: 3.704 MB / 1.228 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/1.202, allocations: 4 kB / 1.228 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005855/1.202, allocations: 136.2 kB / 1.228 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/1.204, allocations: 0.5089 MB / 1.229 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.346e-05/1.204, allocations: 19.98 kB / 1.229 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002709/1.207, allocations: 1.656 MB / 1.231 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.543e-06/1.207, allocations: 7.953 kB / 1.231 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005682/1.212, allocations: 2.072 MB / 1.233 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001809/1.214, allocations: 0.5092 MB / 1.233 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007655/1.215, allocations: 24 kB / 1.233 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/1.217, allocations: 183.8 kB / 1.233 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.217, allocations: 67.81 kB / 1.233 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.914e-05/1.217, allocations: 43.97 kB / 1.233 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.003176/1.22, allocations: 1.762 MB / 1.235 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.3e-07/1.22, allocations: 0 / 1.235 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002333/1.223, allocations: 0.6827 MB / 1.236 GB, free: 3.145 MB / 0.9825 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 (62): * Single equations (assignments): 52 * 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 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001147/1.224, allocations: 0.5823 MB / 1.236 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003973/1.228, allocations: 1.424 MB / 1.238 GB, free: 1.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.228, allocations: 4.062 kB / 1.238 GB, free: 1.145 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0022/1.23, allocations: 0.7297 MB / 1.238 GB, free: 424 kB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006114/1.236, allocations: 1.27 MB / 1.24 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006826/1.243, allocations: 4.193 MB / 1.244 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.244, allocations: 1.49 MB / 1.245 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002271/1.246, allocations: 431.1 kB / 1.246 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.247, allocations: 167.4 kB / 1.246 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.247, allocations: 0 / 1.246 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of Templates: time 0.8797/2.126, allocations: 46.94 MB / 1.292 GB, free: 208 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches