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.001839/0.001839, allocations: 107.3 kB / 15.33 MB, free: 0.5039 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.002339/0.002339, allocations: 196.9 kB / 16.26 MB, free: 6.633 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.51/1.51, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.825/2.825, allocations: 437 MB / 0.7101 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002034, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7031/0.7052, allocations: 151.6 MB / 1.017 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1444/0.8496, allocations: 131.1 MB / 1.145 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.04318/0.8928, allocations: 23.06 MB / 1.167 GB, free: 8.25 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006915/0.8998, allocations: 115.2 kB / 1.167 GB, free: 8.137 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005672/0.9055, allocations: 1.279 MB / 1.169 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01447/0.9201, allocations: 3.811 MB / 1.172 GB, free: 3.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.007002/0.9271, allocations: 1.989 MB / 1.174 GB, free: 1.059 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.9392, allocations: 6.577 MB / 1.181 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004943/0.9442, allocations: 2.341 MB / 1.183 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008613/0.9529, allocations: 2.762 MB / 1.186 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004497/0.9574, allocations: 1.925 MB / 1.188 GB, free: 3.363 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0009098/0.9583, allocations: 244 kB / 1.188 GB, free: 3.125 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00671/0.965, allocations: 1.961 MB / 1.19 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.9672, allocations: 0.6031 MB / 1.19 GB, free: 0.5547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.005881/0.9731, allocations: 1.454 MB / 1.192 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.9842, allocations: 4.327 MB / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.9842, allocations: 0 / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.026e-06/0.9842, allocations: 0 / 1.196 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001121/0.9844, allocations: 0 / 1.196 GB, free: 10.75 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.008512/0.9929, allocations: 3.16 MB / 1.199 GB, free: 7.508 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.9929, allocations: 12.03 kB / 1.199 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004882/0.9978, allocations: 0.8438 MB / 1.2 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006406/1.004, allocations: 2.264 MB / 1.202 GB, free: 4.309 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001047/1.005, allocations: 294.8 kB / 1.202 GB, free: 4.02 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/1.006, allocations: 160 kB / 1.203 GB, free: 3.863 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004831/1.011, allocations: 1.934 MB / 1.204 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/1.011, allocations: 7.938 kB / 1.204 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/1.011, allocations: 64 kB / 1.205 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.898e-05/1.011, allocations: 47.92 kB / 1.205 GB, free: 1.746 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005148/1.016, allocations: 1.811 MB / 1.206 GB, free: 15.93 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.02066/1.037, allocations: 8.996 MB / 1.215 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/1.042, allocations: 1.203 MB / 1.216 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001271/1.043, allocations: 453.4 kB / 1.217 GB, free: 4.668 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001749/1.045, allocations: 1.723 MB / 1.218 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/1.045, allocations: 42.56 kB / 1.218 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 3.547e-06/1.045, allocations: 0 / 1.218 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.01018/1.055, allocations: 2.333 MB / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/1.055, allocations: 89.11 kB / 1.221 GB, free: 16 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007342/1.063, allocations: 2.485 MB / 1.223 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003606/1.063, allocations: 45.7 kB / 1.223 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001574/1.065, allocations: 1.045 MB / 1.224 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005947/1.065, allocations: 264.2 kB / 1.225 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008484/1.066, allocations: 258.6 kB / 1.225 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001935/1.066, allocations: 349.9 kB / 1.225 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001945/1.068, allocations: 0.5842 MB / 1.226 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/1.071, allocations: 0.9699 MB / 1.227 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003605/1.075, allocations: 1.268 MB / 1.228 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-05/1.075, allocations: 4 kB / 1.228 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007529/1.082, allocations: 2.048 MB / 1.23 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.696e-05/1.082, allocations: 13.91 kB / 1.23 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/1.082, allocations: 8 kB / 1.23 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.084, allocations: 421.2 kB / 1.23 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.086, allocations: 291.5 kB / 1.231 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.088, allocations: 1.506 MB / 1.232 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/1.092, allocations: 430 kB / 1.232 GB, free: 3.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/1.092, allocations: 63.91 kB / 1.233 GB, free: 3.625 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.001465/1.094, allocations: 464.7 kB / 1.233 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000968/1.095, allocations: 248.9 kB / 1.233 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004513/1.099, allocations: 1.49 MB / 1.235 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.182e-05/1.099, allocations: 16 kB / 1.235 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/1.1, allocations: 0 / 1.235 GB, free: 1.398 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.1, allocations: 3.984 kB / 1.235 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01006/1.11, allocations: 3.591 MB / 1.238 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.11, allocations: 8 kB / 1.238 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00066/1.11, allocations: 123.8 kB / 1.238 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/1.112, allocations: 421.4 kB / 1.239 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/1.112, allocations: 31.97 kB / 1.239 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002904/1.115, allocations: 1.565 MB / 1.24 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.115, allocations: 4 kB / 1.24 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006788/1.122, allocations: 1.927 MB / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.124, allocations: 493.4 kB / 1.243 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009416/1.124, allocations: 23.98 kB / 1.243 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00338/1.128, allocations: 167.7 kB / 1.243 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/1.128, allocations: 63.8 kB / 1.243 GB, free: 8.738 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002139/1.128, allocations: 39.97 kB / 1.243 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005816/1.134, allocations: 1.746 MB / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.134, allocations: 0 / 1.245 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003939/1.138, allocations: 0.6788 MB / 1.245 GB, free: 6.27 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.001943/1.14, allocations: 0.6035 MB / 1.246 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005601/1.146, allocations: 1.397 MB / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/1.146, allocations: 0 / 1.247 GB, free: 4.266 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.149, allocations: 0.6653 MB / 1.248 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009697/1.158, allocations: 1.334 MB / 1.249 GB, free: 2.305 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6131/1.771, allocations: 4.27 MB / 1.253 GB, free: 224.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001383/1.773, allocations: 1.491 MB / 1.255 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002672/1.776, allocations: 442.9 kB / 1.255 GB, free: 224 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000563/1.776, allocations: 168 kB / 1.255 GB, free: 224 MB / 0.9981 GB Notification: Performance of SimCode: time 9.61e-07/1.776, allocations: 0 / 1.255 GB, free: 224 MB / 0.9981 GB Notification: Performance of Templates: time 0.08876/1.865, allocations: 50.17 MB / 1.304 GB, free: 195.7 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=400 -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