Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.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_10_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_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.001175, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.00164/0.00164, allocations: 168.7 kB / 15.95 MB, free: 204 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.476/1.476, allocations: 223.3 MB / 240 MB, free: 5.391 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.861/2.861, allocations: 437.7 MB / 0.7117 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004242/0.0004243, allocations: 15.94 kB / 0.8722 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7188/0.7192, allocations: 153.8 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1158/0.8351, allocations: 122.2 MB / 1.142 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03037/0.8655, allocations: 21.78 MB / 1.163 GB, free: 15.71 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005599/0.8712, allocations: 111.2 kB / 1.163 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005556/0.8768, allocations: 0.9973 MB / 1.164 GB, free: 14.6 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01395/0.8908, allocations: 3.159 MB / 1.167 GB, free: 11.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00702/0.8978, allocations: 1.519 MB / 1.169 GB, free: 9.93 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01333/0.9112, allocations: 7.193 MB / 1.176 GB, free: 2.715 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005377/0.9166, allocations: 1.668 MB / 1.177 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00857/0.9252, allocations: 2.138 MB / 1.179 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003922/0.9292, allocations: 1.68 MB / 1.181 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005511/0.9298, allocations: 92 kB / 1.181 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.9339, allocations: 1.216 MB / 1.182 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000607/0.9346, allocations: 413.9 kB / 1.183 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.936, allocations: 0.5511 MB / 1.183 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004617/0.9406, allocations: 3.139 MB / 1.186 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.9407, allocations: 0 / 1.186 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9407, allocations: 0 / 1.186 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.14e-05/0.9408, allocations: 4 kB / 1.186 GB, free: 7.75 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.00502/0.9458, allocations: 2.689 MB / 1.189 GB, free: 4.977 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.9458, allocations: 8.031 kB / 1.189 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004101/0.9499, allocations: 0.9528 MB / 1.19 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/0.9545, allocations: 2.188 MB / 1.192 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008377/0.9554, allocations: 326.8 kB / 1.192 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.9556, allocations: 160 kB / 1.192 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.9597, allocations: 1.965 MB / 1.194 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.9597, allocations: 3.938 kB / 1.194 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/0.9599, allocations: 67.95 kB / 1.194 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.223e-05/0.9599, allocations: 36 kB / 1.195 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004455/0.9644, allocations: 1.893 MB / 1.196 GB, free: 13.24 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.01387/0.9783, allocations: 9.078 MB / 1.205 GB, free: 3.559 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003925/0.9822, allocations: 1.299 MB / 1.206 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001046/0.9833, allocations: 489.5 kB / 1.207 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.9845, allocations: 1.714 MB / 1.209 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.9845, allocations: 46.56 kB / 1.209 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.775e-06/0.9845, allocations: 4 kB / 1.209 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008142/0.9927, allocations: 2.483 MB / 1.211 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.9928, allocations: 85.11 kB / 1.211 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/0.9968, allocations: 2.485 MB / 1.214 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0002558/0.9971, allocations: 45.7 kB / 1.214 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/0.9982, allocations: 1.057 MB / 1.215 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003606/0.9986, allocations: 268.2 kB / 1.215 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.419e-05/0.9987, allocations: 20 kB / 1.215 GB, free: 9.059 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.9988, allocations: 345.9 kB / 1.215 GB, free: 8.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/1.001, allocations: 0.6193 MB / 1.216 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/1.002, allocations: 1.013 MB / 1.217 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.004, allocations: 0.6816 MB / 1.218 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/1.004, allocations: 0 / 1.218 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004968/1.009, allocations: 1.959 MB / 1.219 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/1.009, allocations: 8 kB / 1.219 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.752e-05/1.009, allocations: 11.98 kB / 1.219 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001534/1.011, allocations: 437.5 kB / 1.22 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/1.012, allocations: 307.6 kB / 1.22 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/1.014, allocations: 1.542 MB / 1.222 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002949/1.017, allocations: 483.4 kB / 1.222 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/1.017, allocations: 63.97 kB / 1.222 GB, free: 1.395 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 (112): * Single equations (assignments): 110 * 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 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001019/1.018, allocations: 461.5 kB / 1.223 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004977/1.019, allocations: 248.9 kB / 1.223 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00357/1.022, allocations: 1.553 MB / 1.224 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/1.022, allocations: 11.98 kB / 1.224 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.022, allocations: 0 / 1.224 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.022, allocations: 3.984 kB / 1.224 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/1.03, allocations: 3.681 MB / 1.228 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/1.03, allocations: 4 kB / 1.228 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/1.031, allocations: 144.1 kB / 1.228 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/1.032, allocations: 437.2 kB / 1.229 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.638e-05/1.032, allocations: 23.98 kB / 1.229 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002474/1.035, allocations: 1.631 MB / 1.23 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.035, allocations: 7.953 kB / 1.23 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006108/1.041, allocations: 2.068 MB / 1.232 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001751/1.043, allocations: 0.5131 MB / 1.233 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/1.043, allocations: 16 kB / 1.233 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/1.045, allocations: 191.8 kB / 1.233 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/1.045, allocations: 59.81 kB / 1.233 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.547e-05/1.045, allocations: 47.95 kB / 1.233 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002919/1.048, allocations: 1.742 MB / 1.235 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.01e-07/1.048, allocations: 4 kB / 1.235 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002018/1.05, allocations: 0.6788 MB / 1.235 GB, free: 3.605 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 (63): * Single equations (assignments): 53 * 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 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/1.051, allocations: 0.57 MB / 1.236 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003916/1.055, allocations: 1.42 MB / 1.237 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/1.055, allocations: 4 kB / 1.237 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002132/1.057, allocations: 0.7235 MB / 1.238 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005969/1.063, allocations: 1.266 MB / 1.239 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007402/1.07, allocations: 4.176 MB / 1.243 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.072, allocations: 1.494 MB / 1.245 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002435/1.074, allocations: 440.5 kB / 1.245 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/1.074, allocations: 163.4 kB / 1.245 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of SimCode: time 1.392e-06/1.074, allocations: 3.938 kB / 1.245 GB, free: 9.273 MB / 0.9981 GB Notification: Performance of Templates: time 0.7132/1.788, allocations: 46.66 MB / 1.291 GB, free: 209.1 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches