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.007496/0.007496, allocations: 98.75 kB / 15.73 MB, free: 6.059 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.001579/0.00158, allocations: 189.1 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.567/1.567, allocations: 222.9 MB / 240.4 MB, free: 4.191 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.79/2.79, allocations: 437 MB / 0.7105 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3907, allocations: 151.6 MB / 1.167 GB, free: 6.781 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.9796/1.37, allocations: 132.2 MB / 1.296 GB, free: 18.39 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.04604/1.416, allocations: 23.22 MB / 1.318 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009553/1.426, allocations: 120.5 kB / 1.319 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006813/1.433, allocations: 1.54 MB / 1.32 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0187/1.452, allocations: 4.312 MB / 1.324 GB, free: 204 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/1.463, allocations: 2.178 MB / 1.326 GB, free: 14.96 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01784/1.481, allocations: 6.546 MB / 1.333 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006696/1.488, allocations: 2.344 MB / 1.335 GB, free: 10.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01253/1.5, allocations: 2.816 MB / 1.338 GB, free: 9.195 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005449/1.506, allocations: 1.883 MB / 1.34 GB, free: 8.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008076/1.506, allocations: 250.6 kB / 1.34 GB, free: 8.305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007992/1.514, allocations: 1.936 MB / 1.342 GB, free: 7.586 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001076/1.516, allocations: 0.5936 MB / 1.342 GB, free: 7.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003563/1.519, allocations: 1.451 MB / 1.344 GB, free: 6.281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01395/1.533, allocations: 4.371 MB / 1.348 GB, free: 4.574 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/1.533, allocations: 4 kB / 1.348 GB, free: 4.57 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.682e-05/1.533, allocations: 1.094 kB / 1.348 GB, free: 4.57 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001275/1.533, allocations: 0 / 1.348 GB, free: 4.57 MB / 1.014 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.009692/1.543, allocations: 3.259 MB / 1.351 GB, free: 2.434 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/1.543, allocations: 9.844 kB / 1.351 GB, free: 2.434 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005063/1.548, allocations: 0.8611 MB / 1.352 GB, free: 2.121 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006575/1.555, allocations: 2.33 MB / 1.354 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/1.555, allocations: 129.3 kB / 1.354 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000328/1.555, allocations: 161.2 kB / 1.355 GB, free: 236 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004946/1.56, allocations: 1.925 MB / 1.357 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/1.56, allocations: 1.281 kB / 1.357 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.56, allocations: 62.5 kB / 1.357 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.273e-05/1.56, allocations: 46 kB / 1.357 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/1.565, allocations: 1.786 MB / 1.358 GB, free: 14.11 MB / 1.029 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.01625/1.582, allocations: 8.986 MB / 1.367 GB, free: 6.285 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/1.586, allocations: 1.205 MB / 1.368 GB, free: 5.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.587, allocations: 458.1 kB / 1.369 GB, free: 5.438 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/1.589, allocations: 1.725 MB / 1.37 GB, free: 3.406 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/1.589, allocations: 41.38 kB / 1.37 GB, free: 3.359 MB / 1.029 GB Notification: Performance of pre-optimization done (n=76): time 2.755e-06/1.589, allocations: 0 / 1.37 GB, free: 3.359 MB / 1.029 GB Notification: Performance of matching and sorting (n=76): time 0.009172/1.598, allocations: 2.337 MB / 1.373 GB, free: 2.086 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/1.598, allocations: 89.33 kB / 1.373 GB, free: 1.988 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/1.603, allocations: 2.496 MB / 1.375 GB, free: 0.6641 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002317/1.603, allocations: 43.02 kB / 1.375 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009726/1.604, allocations: 1.053 MB / 1.376 GB, free: 15.69 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003824/1.604, allocations: 284.2 kB / 1.377 GB, free: 15.44 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004535/1.605, allocations: 257.7 kB / 1.377 GB, free: 15.29 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.605, allocations: 341.9 kB / 1.377 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/1.606, allocations: 0.5744 MB / 1.378 GB, free: 14.68 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/1.608, allocations: 0.9532 MB / 1.379 GB, free: 13.95 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002848/1.611, allocations: 1.248 MB / 1.38 GB, free: 13.13 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/1.611, allocations: 2.75 kB / 1.38 GB, free: 13.13 MB / 1.045 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006781/1.618, allocations: 2.032 MB / 1.382 GB, free: 12.11 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/1.618, allocations: 8.062 kB / 1.382 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/1.618, allocations: 7.812 kB / 1.382 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001778/1.62, allocations: 419 kB / 1.382 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/1.621, allocations: 287.5 kB / 1.383 GB, free: 11.47 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/1.624, allocations: 1.503 MB / 1.384 GB, free: 9.914 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/1.627, allocations: 366.5 kB / 1.384 GB, free: 9.555 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002378/1.627, allocations: 71.94 kB / 1.384 GB, free: 9.484 MB / 1.045 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.001132/1.629, allocations: 453.9 kB / 1.385 GB, free: 9.031 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007098/1.629, allocations: 258.4 kB / 1.385 GB, free: 8.777 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/1.633, allocations: 1.494 MB / 1.387 GB, free: 7.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/1.633, allocations: 12 kB / 1.387 GB, free: 7.258 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/1.633, allocations: 3.984 kB / 1.387 GB, free: 7.254 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/1.633, allocations: 3.984 kB / 1.387 GB, free: 7.25 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007976/1.641, allocations: 3.595 MB / 1.39 GB, free: 3.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.661e-05/1.641, allocations: 4.375 kB / 1.39 GB, free: 3.535 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/1.642, allocations: 139.7 kB / 1.39 GB, free: 3.398 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/1.643, allocations: 413.2 kB / 1.391 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-05/1.643, allocations: 27.97 kB / 1.391 GB, free: 2.961 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/1.646, allocations: 1.561 MB / 1.392 GB, free: 1.348 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/1.646, allocations: 7.938 kB / 1.392 GB, free: 1.34 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006248/1.652, allocations: 1.948 MB / 1.394 GB, free: 15.32 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001777/1.654, allocations: 495 kB / 1.395 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004444/1.654, allocations: 23.92 kB / 1.395 GB, free: 14.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001698/1.656, allocations: 135.8 kB / 1.395 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.656, allocations: 63.72 kB / 1.395 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/1.656, allocations: 39.97 kB / 1.395 GB, free: 14.56 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0032/1.66, allocations: 1.753 MB / 1.397 GB, free: 12.8 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.91e-07/1.66, allocations: 0 / 1.397 GB, free: 12.8 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002961/1.663, allocations: 0.6979 MB / 1.397 GB, free: 12.11 MB / 1.061 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.001624/1.664, allocations: 0.631 MB / 1.398 GB, free: 11.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.004316/1.669, allocations: 1.346 MB / 1.399 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.669, allocations: 0 / 1.399 GB, free: 10.13 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/1.671, allocations: 0.6695 MB / 1.4 GB, free: 9.461 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00688/1.678, allocations: 1.321 MB / 1.401 GB, free: 8.156 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007192/1.685, allocations: 3.595 MB / 1.405 GB, free: 4.48 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/1.686, allocations: 1.49 MB / 1.406 GB, free: 2.957 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002247/1.688, allocations: 432.5 kB / 1.407 GB, free: 2.531 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004699/1.689, allocations: 167.4 kB / 1.407 GB, free: 2.367 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/1.689, allocations: 0 / 1.407 GB, free: 2.367 MB / 1.061 GB Notification: Performance of Templates: time 0.08808/1.777, allocations: 48.53 MB / 1.454 GB, free: 2.516 MB / 1.107 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