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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00103/0.00103, allocations: 99.34 kB / 16.02 MB, free: 76 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.00152/0.00152, allocations: 184.2 kB / 16.92 MB, free: 6.895 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.503/1.503, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 462.6 MB / 0.7371 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004036/0.0004036, allocations: 13.31 kB / 0.9034 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3597, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1382/0.498, allocations: 129.4 MB / 1.186 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03397/0.532, allocations: 23.06 MB / 1.208 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006167/0.5382, allocations: 111.2 kB / 1.208 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.5432, allocations: 1.2 MB / 1.209 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01277/0.556, allocations: 3.768 MB / 1.213 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006352/0.5624, allocations: 1.967 MB / 1.215 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01189/0.5743, allocations: 8.268 MB / 1.223 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00473/0.5791, allocations: 1.916 MB / 1.225 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007037/0.5861, allocations: 2.294 MB / 1.227 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.5901, allocations: 1.788 MB / 1.229 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009133/0.591, allocations: 88 kB / 1.229 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005319/0.5964, allocations: 1.707 MB / 1.231 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001024/0.5974, allocations: 445.7 kB / 1.231 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003054/0.6005, allocations: 1.295 MB / 1.232 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005904/0.6064, allocations: 3.246 MB / 1.236 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6065, allocations: 0 / 1.236 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6065, allocations: 0 / 1.236 GB, free: 15.87 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001467/0.6066, allocations: 4 kB / 1.236 GB, free: 15.87 MB / 0.9981 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.006349/0.613, allocations: 2.655 MB / 1.238 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.6131, allocations: 11.97 kB / 1.238 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004923/0.618, allocations: 0.961 MB / 1.239 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005459/0.6235, allocations: 2.283 MB / 1.241 GB, free: 9.793 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00108/0.6246, allocations: 314.9 kB / 1.242 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004784/0.6251, allocations: 160 kB / 1.242 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/0.6304, allocations: 1.989 MB / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/0.6305, allocations: 0 / 1.244 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/0.6308, allocations: 63.94 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.58e-05/0.6308, allocations: 43.94 kB / 1.244 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005389/0.6362, allocations: 1.897 MB / 1.246 GB, free: 5.27 MB / 0.9981 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.6697/1.306, allocations: 9.077 MB / 1.255 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/1.311, allocations: 1.308 MB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001202/1.312, allocations: 487.2 kB / 1.256 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008569/1.313, allocations: 1.718 MB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/1.313, allocations: 51.88 kB / 1.258 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.747e-06/1.313, allocations: 1.266 kB / 1.258 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009042/1.322, allocations: 2.499 MB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/1.322, allocations: 90 kB / 1.261 GB, free: 179 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004561/1.327, allocations: 2.51 MB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002218/1.327, allocations: 45.47 kB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009347/1.328, allocations: 1.042 MB / 1.264 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003084/1.328, allocations: 270.2 kB / 1.264 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/1.328, allocations: 91.97 kB / 1.264 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/1.328, allocations: 345.4 kB / 1.265 GB, free: 178 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/1.33, allocations: 0.6339 MB / 1.265 GB, free: 178 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/1.332, allocations: 1.003 MB / 1.266 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/1.336, allocations: 1.333 MB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.336, allocations: 2.281 kB / 1.268 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00785/1.343, allocations: 2.184 MB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/1.343, allocations: 12.38 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/1.344, allocations: 11.66 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001886/1.345, allocations: 437.2 kB / 1.27 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/1.347, allocations: 309 kB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.349, allocations: 1.55 MB / 1.272 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003836/1.353, allocations: 478.6 kB / 1.273 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003781/1.353, allocations: 61.91 kB / 1.273 GB, free: 175.8 MB / 0.9981 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.001358/1.355, allocations: 455.4 kB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/1.356, allocations: 248.4 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00463/1.36, allocations: 1.554 MB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/1.36, allocations: 11.64 kB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.36, allocations: 0 / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.878e-05/1.36, allocations: 5.75 kB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/1.371, allocations: 3.688 MB / 1.278 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/1.371, allocations: 3.875 kB / 1.278 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000663/1.371, allocations: 140.1 kB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001763/1.373, allocations: 433.9 kB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.373, allocations: 34.83 kB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002719/1.376, allocations: 1.623 MB / 1.281 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/1.376, allocations: 7 kB / 1.281 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006857/1.383, allocations: 2.074 MB / 1.283 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/1.385, allocations: 0.5163 MB / 1.283 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004637/1.385, allocations: 20.62 kB / 1.283 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/1.387, allocations: 186.2 kB / 1.283 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.387, allocations: 61.86 kB / 1.283 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.387, allocations: 43.23 kB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003699/1.391, allocations: 1.767 MB / 1.285 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.91e-07/1.391, allocations: 3.938 kB / 1.285 GB, free: 171.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003008/1.394, allocations: 0.6807 MB / 1.286 GB, free: 171.7 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.001276/1.395, allocations: 0.6001 MB / 1.286 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004631/1.4, allocations: 1.437 MB / 1.288 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/1.4, allocations: 4 kB / 1.288 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/1.403, allocations: 0.7246 MB / 1.288 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008661/1.411, allocations: 1.319 MB / 1.29 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008363/1.42, allocations: 4.384 MB / 1.294 GB, free: 168 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/1.421, allocations: 1.479 MB / 1.295 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009676/1.422, allocations: 192.1 kB / 1.296 GB, free: 167 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.422, allocations: 0 / 1.296 GB, free: 167 MB / 0.9981 GB Notification: Performance of Templates: time 0.07262/1.494, allocations: 61.64 MB / 1.356 GB, free: 111.2 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches