Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.009119/0.009119, allocations: 103.9 kB / 15.73 MB, free: 6.035 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.00212/0.00212, allocations: 195.7 kB / 16.67 MB, free: 5.969 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.449/1.449, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 63.91 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4084, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 1.008/1.417, allocations: 132.2 MB / 1.337 GB, free: 1.176 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04021/1.457, allocations: 23.2 MB / 1.36 GB, free: 472 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007432/1.464, allocations: 124.2 kB / 1.36 GB, free: 424 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005752/1.47, allocations: 1.495 MB / 1.361 GB, free: 15.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01525/1.485, allocations: 4.104 MB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008/1.493, allocations: 2.175 MB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01744/1.511, allocations: 6.53 MB / 1.374 GB, free: 7.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005926/1.517, allocations: 2.35 MB / 1.376 GB, free: 5.797 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01107/1.528, allocations: 2.805 MB / 1.379 GB, free: 4.059 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005973/1.534, allocations: 1.882 MB / 1.381 GB, free: 2.902 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001007/1.535, allocations: 246.6 kB / 1.381 GB, free: 2.902 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007615/1.543, allocations: 1.933 MB / 1.383 GB, free: 1.887 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001216/1.544, allocations: 0.5927 MB / 1.383 GB, free: 1.395 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003881/1.548, allocations: 1.458 MB / 1.385 GB, free: 420 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01214/1.56, allocations: 4.345 MB / 1.389 GB, free: 13.51 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.485e-06/1.56, allocations: 0 / 1.389 GB, free: 13.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.225e-06/1.56, allocations: 0 / 1.389 GB, free: 13.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001623/1.56, allocations: 0 / 1.389 GB, free: 13.51 MB / 1.076 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.00989/1.57, allocations: 3.168 MB / 1.392 GB, free: 11.15 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.505e-05/1.57, allocations: 14.3 kB / 1.392 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005095/1.575, allocations: 0.8393 MB / 1.393 GB, free: 10.76 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/1.582, allocations: 2.319 MB / 1.395 GB, free: 8.992 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/1.582, allocations: 122.7 kB / 1.395 GB, free: 8.938 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002855/1.582, allocations: 160.6 kB / 1.395 GB, free: 8.887 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005053/1.587, allocations: 1.922 MB / 1.397 GB, free: 7.707 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/1.587, allocations: 6.906 kB / 1.397 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/1.587, allocations: 65.59 kB / 1.397 GB, free: 7.652 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.587, allocations: 42.56 kB / 1.397 GB, free: 7.648 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/1.592, allocations: 1.784 MB / 1.399 GB, free: 6.766 MB / 1.076 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.01616/1.609, allocations: 8.965 MB / 1.408 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004504/1.613, allocations: 1.195 MB / 1.409 GB, free: 12.26 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.614, allocations: 461.3 kB / 1.409 GB, free: 11.8 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/1.616, allocations: 1.719 MB / 1.411 GB, free: 9.695 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.616, allocations: 46.55 kB / 1.411 GB, free: 9.641 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/1.616, allocations: 0 / 1.411 GB, free: 9.641 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.00949/1.625, allocations: 2.33 MB / 1.413 GB, free: 7.258 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/1.626, allocations: 89.11 kB / 1.414 GB, free: 7.152 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/1.631, allocations: 2.493 MB / 1.416 GB, free: 4.641 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002723/1.632, allocations: 49.64 kB / 1.416 GB, free: 4.586 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/1.633, allocations: 1.038 MB / 1.417 GB, free: 3.539 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003974/1.633, allocations: 276.1 kB / 1.417 GB, free: 3.266 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005171/1.634, allocations: 250.6 kB / 1.418 GB, free: 3.016 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001985/1.634, allocations: 341.9 kB / 1.418 GB, free: 2.676 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.636, allocations: 0.5725 MB / 1.418 GB, free: 2.102 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/1.638, allocations: 0.9543 MB / 1.419 GB, free: 1 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003643/1.642, allocations: 1.252 MB / 1.421 GB, free: 15.64 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.309e-05/1.642, allocations: 4 kB / 1.421 GB, free: 15.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007402/1.649, allocations: 2.016 MB / 1.423 GB, free: 13.6 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/1.649, allocations: 9.875 kB / 1.423 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/1.649, allocations: 8 kB / 1.423 GB, free: 13.59 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/1.651, allocations: 421.9 kB / 1.423 GB, free: 13.17 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/1.653, allocations: 283.5 kB / 1.423 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002655/1.655, allocations: 1.496 MB / 1.425 GB, free: 11.34 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/1.659, allocations: 370 kB / 1.425 GB, free: 10.98 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/1.659, allocations: 59.97 kB / 1.425 GB, free: 10.92 MB / 1.107 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.001192/1.66, allocations: 461.5 kB / 1.426 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009223/1.661, allocations: 245.1 kB / 1.426 GB, free: 10.22 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003896/1.665, allocations: 1.498 MB / 1.427 GB, free: 8.707 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.713e-05/1.665, allocations: 15.98 kB / 1.427 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/1.665, allocations: 0 / 1.427 GB, free: 8.691 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.345e-05/1.665, allocations: 7.984 kB / 1.427 GB, free: 8.684 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009148/1.674, allocations: 3.589 MB / 1.431 GB, free: 4.98 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/1.674, allocations: 12.05 kB / 1.431 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006244/1.675, allocations: 127.8 kB / 1.431 GB, free: 4.844 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/1.677, allocations: 420.1 kB / 1.431 GB, free: 4.43 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.567e-05/1.677, allocations: 31.98 kB / 1.431 GB, free: 4.398 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002882/1.68, allocations: 1.569 MB / 1.433 GB, free: 2.777 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/1.68, allocations: 8.016 kB / 1.433 GB, free: 2.77 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006911/1.687, allocations: 1.931 MB / 1.435 GB, free: 0.7695 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.688, allocations: 489.5 kB / 1.435 GB, free: 276 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004078/1.689, allocations: 23.94 kB / 1.435 GB, free: 252 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001721/1.691, allocations: 131.8 kB / 1.435 GB, free: 120 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.691, allocations: 59.86 kB / 1.435 GB, free: 60 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.924e-05/1.691, allocations: 39.97 kB / 1.435 GB, free: 20 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.003406/1.694, allocations: 1.75 MB / 1.437 GB, free: 14.26 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.81e-07/1.694, allocations: 4.094 kB / 1.437 GB, free: 14.26 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003103/1.697, allocations: 0.6905 MB / 1.438 GB, free: 13.57 MB / 1.123 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.001727/1.699, allocations: 0.6134 MB / 1.438 GB, free: 12.96 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004709/1.704, allocations: 1.349 MB / 1.44 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.655e-06/1.704, allocations: 4.188 kB / 1.44 GB, free: 11.61 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.706, allocations: 0.6679 MB / 1.44 GB, free: 10.94 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007409/1.714, allocations: 1.33 MB / 1.442 GB, free: 9.625 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007269/1.721, allocations: 3.534 MB / 1.445 GB, free: 6.02 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/1.723, allocations: 1.486 MB / 1.447 GB, free: 4.5 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0022/1.725, allocations: 432.6 kB / 1.447 GB, free: 4.074 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000471/1.725, allocations: 167.4 kB / 1.447 GB, free: 3.91 MB / 1.123 GB Notification: Performance of SimCode: time 9.71e-07/1.725, allocations: 0 / 1.447 GB, free: 3.91 MB / 1.123 GB Notification: Performance of Templates: time 0.08584/1.811, allocations: 49.51 MB / 1.496 GB, free: 2.977 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches