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.00174/0.00174, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002442/0.002442, allocations: 196.2 kB / 16.14 MB, free: 6.711 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.41/1.41, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.631/2.631, allocations: 437 MB / 0.7099 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 0.8685 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.647/0.6483, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1206/0.7689, allocations: 131.4 MB / 1.145 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03536/0.8044, allocations: 23.31 MB / 1.168 GB, free: 7.59 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006128/0.8105, allocations: 115.2 kB / 1.168 GB, free: 7.477 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005426/0.816, allocations: 1.204 MB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01419/0.8303, allocations: 3.764 MB / 1.173 GB, free: 2.484 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006568/0.8369, allocations: 1.962 MB / 1.175 GB, free: 0.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01511/0.852, allocations: 8.278 MB / 1.183 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004272/0.8563, allocations: 1.964 MB / 1.185 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007244/0.8636, allocations: 2.368 MB / 1.187 GB, free: 3.844 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004282/0.8679, allocations: 1.862 MB / 1.189 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0005913/0.8685, allocations: 120 kB / 1.189 GB, free: 1.855 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005963/0.8745, allocations: 1.738 MB / 1.19 GB, free: 116 kB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0006626/0.8752, allocations: 493.6 kB / 1.191 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002591/0.8778, allocations: 1.321 MB / 1.192 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.008342/0.8861, allocations: 4.234 MB / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.8862, allocations: 0 / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.8862, allocations: 0 / 1.196 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.369e-05/0.8863, allocations: 0 / 1.196 GB, free: 10.05 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.00851/0.8948, allocations: 3.153 MB / 1.199 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.8949, allocations: 12.02 kB / 1.199 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.8996, allocations: 0.836 MB / 1.2 GB, free: 5.965 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004851/0.9045, allocations: 2.268 MB / 1.203 GB, free: 3.621 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009701/0.9055, allocations: 286.9 kB / 1.203 GB, free: 3.34 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.9059, allocations: 164 kB / 1.203 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004466/0.9103, allocations: 1.938 MB / 1.205 GB, free: 1.176 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.077e-05/0.9104, allocations: 7.938 kB / 1.205 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.9105, allocations: 67.92 kB / 1.205 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.169e-05/0.9106, allocations: 39.94 kB / 1.205 GB, free: 1.062 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004877/0.9155, allocations: 1.819 MB / 1.207 GB, free: 15.24 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.01538/0.9309, allocations: 9.004 MB / 1.216 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.9355, allocations: 1.192 MB / 1.217 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.9367, allocations: 461.4 kB / 1.217 GB, free: 3.973 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/0.9381, allocations: 1.723 MB / 1.219 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.9381, allocations: 46.55 kB / 1.219 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 4.338e-06/0.9381, allocations: 0 / 1.219 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009684/0.9478, allocations: 2.333 MB / 1.221 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.948, allocations: 89.05 kB / 1.221 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005062/0.953, allocations: 2.485 MB / 1.224 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.9533, allocations: 49.7 kB / 1.224 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.9544, allocations: 1.041 MB / 1.225 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/0.9547, allocations: 268.2 kB / 1.225 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004772/0.9552, allocations: 254.5 kB / 1.225 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.9554, allocations: 353.9 kB / 1.226 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.9571, allocations: 0.5842 MB / 1.226 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.9594, allocations: 0.9738 MB / 1.227 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003122/0.9625, allocations: 1.26 MB / 1.228 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.759e-06/0.9626, allocations: 4 kB / 1.228 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00739/0.97, allocations: 2.044 MB / 1.23 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.97, allocations: 9.406 kB / 1.23 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.97, allocations: 8 kB / 1.23 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001791/0.9718, allocations: 425.6 kB / 1.231 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/0.9732, allocations: 295.5 kB / 1.231 GB, free: 4.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002407/0.9756, allocations: 1.499 MB / 1.232 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003504/0.9791, allocations: 430 kB / 1.233 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.9794, allocations: 71.95 kB / 1.233 GB, free: 2.922 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.001207/0.9806, allocations: 457.5 kB / 1.233 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007312/0.9814, allocations: 248.9 kB / 1.234 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.9853, allocations: 1.49 MB / 1.235 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.9853, allocations: 19.98 kB / 1.235 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9853, allocations: 0 / 1.235 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.9854, allocations: 3.984 kB / 1.235 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00807/0.9934, allocations: 3.587 MB / 1.239 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.574e-05/0.9935, allocations: 7.938 kB / 1.239 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006719/0.9942, allocations: 131.8 kB / 1.239 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.9959, allocations: 418.4 kB / 1.239 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.787e-05/0.9959, allocations: 27.98 kB / 1.239 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002853/0.9988, allocations: 1.565 MB / 1.241 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.9988, allocations: 7.938 kB / 1.241 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006319/1.005, allocations: 1.931 MB / 1.243 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001445/1.007, allocations: 493.5 kB / 1.243 GB, free: 8.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004127/1.007, allocations: 20.09 kB / 1.243 GB, free: 8.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/1.009, allocations: 175.6 kB / 1.243 GB, free: 8.094 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/1.009, allocations: 59.8 kB / 1.243 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/1.009, allocations: 43.97 kB / 1.243 GB, free: 7.992 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003108/1.012, allocations: 1.742 MB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/1.012, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002438/1.015, allocations: 0.675 MB / 1.246 GB, free: 5.57 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.001282/1.016, allocations: 0.5996 MB / 1.246 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00451/1.021, allocations: 1.354 MB / 1.248 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.021, allocations: 0 / 1.248 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.023, allocations: 0.6536 MB / 1.248 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00684/1.03, allocations: 1.258 MB / 1.249 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5474/1.577, allocations: 4.278 MB / 1.254 GB, free: 224.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001562/1.579, allocations: 1.489 MB / 1.255 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002926/1.582, allocations: 437.9 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000626/1.582, allocations: 167 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.582, allocations: 1 kB / 1.256 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.0879/1.67, allocations: 48.38 MB / 1.303 GB, free: 196.6 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