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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001402/0.001402, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.68/2.68, allocations: 437 MB / 0.7103 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.88 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7814/0.7829, allocations: 151.6 MB / 1.017 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1399/0.9229, allocations: 132.2 MB / 1.146 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03748/0.9604, allocations: 23.21 MB / 1.169 GB, free: 6.605 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00669/0.9672, allocations: 123.2 kB / 1.169 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005375/0.9726, allocations: 1.494 MB / 1.171 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/0.9872, allocations: 4.093 MB / 1.175 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007092/0.9943, allocations: 2.151 MB / 1.177 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.01228/1.007, allocations: 6.514 MB / 1.183 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005094/1.012, allocations: 2.361 MB / 1.185 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01036/1.022, allocations: 2.724 MB / 1.188 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00475/1.027, allocations: 1.886 MB / 1.19 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001432/1.028, allocations: 248 kB / 1.19 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006538/1.035, allocations: 1.93 MB / 1.192 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001303/1.036, allocations: 0.5915 MB / 1.193 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.003558/1.04, allocations: 1.458 MB / 1.194 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.009551/1.049, allocations: 4.3 MB / 1.198 GB, free: 8.617 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/1.049, allocations: 8 kB / 1.198 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.884e-06/1.049, allocations: 0 / 1.198 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001722/1.05, allocations: 0 / 1.198 GB, free: 8.609 MB / 0.9512 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.008798/1.058, allocations: 3.168 MB / 1.201 GB, free: 5.355 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.058, allocations: 8.031 kB / 1.201 GB, free: 5.348 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004933/1.063, allocations: 0.8399 MB / 1.202 GB, free: 4.504 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005484/1.069, allocations: 2.202 MB / 1.204 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/1.07, allocations: 290.8 kB / 1.205 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004839/1.071, allocations: 164 kB / 1.205 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005492/1.076, allocations: 1.938 MB / 1.207 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/1.076, allocations: 4 kB / 1.207 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002538/1.076, allocations: 68 kB / 1.207 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.064e-05/1.076, allocations: 39.94 kB / 1.207 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005365/1.082, allocations: 1.819 MB / 1.209 GB, free: 13.85 MB / 0.9669 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.01544/1.097, allocations: 9.055 MB / 1.217 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/1.102, allocations: 1.198 MB / 1.219 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/1.103, allocations: 453.4 kB / 1.219 GB, free: 2.527 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.104, allocations: 1.723 MB / 1.221 GB, free: 428 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/1.104, allocations: 42.56 kB / 1.221 GB, free: 376 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.825e-06/1.104, allocations: 0 / 1.221 GB, free: 376 kB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.008838/1.113, allocations: 2.336 MB / 1.223 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/1.113, allocations: 85.11 kB / 1.223 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00527/1.118, allocations: 2.516 MB / 1.226 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001749/1.119, allocations: 45.7 kB / 1.226 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.12, allocations: 1.034 MB / 1.227 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000345/1.12, allocations: 268.2 kB / 1.227 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005486/1.12, allocations: 254.6 kB / 1.227 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.121, allocations: 353.9 kB / 1.227 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001805/1.122, allocations: 0.5881 MB / 1.228 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/1.125, allocations: 0.966 MB / 1.229 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003147/1.128, allocations: 1.264 MB / 1.23 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/1.128, allocations: 8 kB / 1.23 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007034/1.135, allocations: 2.044 MB / 1.232 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.135, allocations: 15.94 kB / 1.232 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.135, allocations: 12.06 kB / 1.232 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/1.137, allocations: 418.4 kB / 1.233 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/1.138, allocations: 287.5 kB / 1.233 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/1.14, allocations: 1.507 MB / 1.234 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/1.143, allocations: 391 kB / 1.235 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.143, allocations: 55.97 kB / 1.235 GB, free: 1.508 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001212/1.145, allocations: 457.5 kB / 1.235 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008895/1.146, allocations: 248.8 kB / 1.235 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004259/1.15, allocations: 1.502 MB / 1.237 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-05/1.15, allocations: 8 kB / 1.237 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.15, allocations: 4 kB / 1.237 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.15, allocations: 3.984 kB / 1.237 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/1.159, allocations: 3.591 MB / 1.24 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/1.159, allocations: 7.938 kB / 1.24 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/1.16, allocations: 132.2 kB / 1.241 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/1.161, allocations: 411 kB / 1.241 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.509e-05/1.161, allocations: 23.98 kB / 1.241 GB, free: 11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/1.164, allocations: 1.577 MB / 1.243 GB, free: 9.375 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/1.164, allocations: 7.938 kB / 1.243 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/1.17, allocations: 1.927 MB / 1.244 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.172, allocations: 489.6 kB / 1.245 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009125/1.172, allocations: 20 kB / 1.245 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/1.175, allocations: 147.8 kB / 1.245 GB, free: 6.711 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.175, allocations: 59.81 kB / 1.245 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/1.175, allocations: 43.95 kB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003942/1.179, allocations: 1.765 MB / 1.247 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.003e-06/1.179, allocations: 0 / 1.247 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002595/1.181, allocations: 0.6943 MB / 1.248 GB, free: 4.145 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001501/1.183, allocations: 0.6207 MB / 1.248 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004561/1.188, allocations: 1.393 MB / 1.249 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.188, allocations: 8.188 kB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002383/1.19, allocations: 0.6586 MB / 1.25 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006988/1.197, allocations: 1.336 MB / 1.251 GB, free: 168 kB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6269/1.824, allocations: 3.578 MB / 1.255 GB, free: 224.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001983/1.826, allocations: 1.489 MB / 1.256 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002957/1.829, allocations: 428.8 kB / 1.257 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/1.829, allocations: 169.3 kB / 1.257 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.092e-06/1.829, allocations: 0 / 1.257 GB, free: 224.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.09571/1.925, allocations: 50.9 MB / 1.307 GB, free: 194.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