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.008393/0.008393, allocations: 101.3 kB / 15.73 MB, free: 6.039 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.001488/0.001489, allocations: 187.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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.781/2.781, allocations: 461.9 MB / 0.7348 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 71.89 kB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3749, allocations: 157.4 MB / 1.208 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.9418/1.317, allocations: 132.2 MB / 1.337 GB, free: 1.234 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04476/1.362, allocations: 23.21 MB / 1.36 GB, free: 0.5156 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007797/1.369, allocations: 125.6 kB / 1.36 GB, free: 480 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005981/1.376, allocations: 1.539 MB / 1.361 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01693/1.393, allocations: 4.309 MB / 1.365 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008843/1.401, allocations: 2.178 MB / 1.368 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01404/1.415, allocations: 6.545 MB / 1.374 GB, free: 7.246 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005845/1.421, allocations: 2.36 MB / 1.376 GB, free: 5.715 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009521/1.431, allocations: 2.809 MB / 1.379 GB, free: 3.98 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/1.437, allocations: 1.884 MB / 1.381 GB, free: 2.824 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001452/1.438, allocations: 244.8 kB / 1.381 GB, free: 2.824 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008217/1.447, allocations: 1.933 MB / 1.383 GB, free: 1.809 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001622/1.448, allocations: 0.5983 MB / 1.383 GB, free: 1.312 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.005137/1.453, allocations: 1.449 MB / 1.385 GB, free: 344 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/1.467, allocations: 4.352 MB / 1.389 GB, free: 13.43 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/1.467, allocations: 2.875 kB / 1.389 GB, free: 13.43 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.916e-06/1.467, allocations: 0 / 1.389 GB, free: 13.43 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000241/1.468, allocations: 0 / 1.389 GB, free: 13.43 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.01055/1.478, allocations: 3.165 MB / 1.392 GB, free: 11.07 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.478, allocations: 8.656 kB / 1.392 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004604/1.483, allocations: 0.8472 MB / 1.393 GB, free: 10.68 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00551/1.488, allocations: 2.315 MB / 1.395 GB, free: 8.914 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/1.488, allocations: 127.8 kB / 1.395 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/1.489, allocations: 166.7 kB / 1.396 GB, free: 8.801 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003949/1.493, allocations: 1.926 MB / 1.398 GB, free: 7.617 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/1.493, allocations: 2.969 kB / 1.398 GB, free: 7.617 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/1.493, allocations: 59.5 kB / 1.398 GB, free: 7.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/1.493, allocations: 43.28 kB / 1.398 GB, free: 7.566 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/1.497, allocations: 1.788 MB / 1.399 GB, free: 6.68 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.0141/1.511, allocations: 8.963 MB / 1.408 GB, free: 13.28 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.516, allocations: 1.192 MB / 1.409 GB, free: 12.07 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/1.517, allocations: 457.4 kB / 1.41 GB, free: 11.62 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001405/1.518, allocations: 1.722 MB / 1.411 GB, free: 9.512 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/1.518, allocations: 42.5 kB / 1.411 GB, free: 9.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.517e-06/1.518, allocations: 7.875 kB / 1.411 GB, free: 9.453 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.009124/1.527, allocations: 2.326 MB / 1.414 GB, free: 7.074 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.71e-05/1.527, allocations: 93.09 kB / 1.414 GB, free: 6.965 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/1.532, allocations: 2.493 MB / 1.416 GB, free: 4.453 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/1.532, allocations: 41.7 kB / 1.416 GB, free: 4.406 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009256/1.533, allocations: 1.045 MB / 1.417 GB, free: 3.352 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003117/1.533, allocations: 276.1 kB / 1.418 GB, free: 3.078 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004572/1.533, allocations: 250.6 kB / 1.418 GB, free: 2.828 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.534, allocations: 345.9 kB / 1.418 GB, free: 2.484 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/1.535, allocations: 0.5725 MB / 1.419 GB, free: 1.91 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.537, allocations: 0.9465 MB / 1.42 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/1.54, allocations: 1.248 MB / 1.421 GB, free: 15.46 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.54, allocations: 4 kB / 1.421 GB, free: 15.46 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006466/1.547, allocations: 2.016 MB / 1.423 GB, free: 13.42 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/1.547, allocations: 11.98 kB / 1.423 GB, free: 13.41 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/1.547, allocations: 8 kB / 1.423 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001577/1.548, allocations: 429.8 kB / 1.423 GB, free: 12.98 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/1.55, allocations: 275.6 kB / 1.423 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/1.552, allocations: 1.499 MB / 1.425 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003166/1.555, allocations: 366 kB / 1.425 GB, free: 10.8 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/1.555, allocations: 71.94 kB / 1.425 GB, free: 10.73 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.00102/1.556, allocations: 461.5 kB / 1.426 GB, free: 10.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/1.557, allocations: 245 kB / 1.426 GB, free: 10.02 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.56, allocations: 1.498 MB / 1.428 GB, free: 8.512 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.56, allocations: 15.98 kB / 1.428 GB, free: 8.496 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.56, allocations: 0 / 1.428 GB, free: 8.496 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/1.56, allocations: 3.984 kB / 1.428 GB, free: 8.492 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007789/1.568, allocations: 3.589 MB / 1.431 GB, free: 4.789 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/1.568, allocations: 4 kB / 1.431 GB, free: 4.785 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006146/1.569, allocations: 144 kB / 1.431 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/1.57, allocations: 413.2 kB / 1.432 GB, free: 4.234 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.729e-05/1.57, allocations: 31.97 kB / 1.432 GB, free: 4.203 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002392/1.572, allocations: 1.569 MB / 1.433 GB, free: 2.582 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.573, allocations: 4.031 kB / 1.433 GB, free: 2.578 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005741/1.578, allocations: 1.935 MB / 1.435 GB, free: 0.5742 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/1.58, allocations: 485.6 kB / 1.435 GB, free: 80 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/1.58, allocations: 23.92 kB / 1.436 GB, free: 56 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/1.581, allocations: 135.9 kB / 1.436 GB, free: 15.92 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/1.582, allocations: 63.8 kB / 1.436 GB, free: 15.86 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-05/1.582, allocations: 35.97 kB / 1.436 GB, free: 15.82 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002891/1.585, allocations: 1.753 MB / 1.437 GB, free: 14.07 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.2e-07/1.585, allocations: 4 kB / 1.437 GB, free: 14.06 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002726/1.587, allocations: 0.6828 MB / 1.438 GB, free: 13.38 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.002044/1.589, allocations: 0.6132 MB / 1.439 GB, free: 12.77 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004811/1.594, allocations: 1.353 MB / 1.44 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/1.594, allocations: 0 / 1.44 GB, free: 11.41 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/1.596, allocations: 0.6721 MB / 1.441 GB, free: 10.74 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006475/1.603, allocations: 1.323 MB / 1.442 GB, free: 9.438 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/1.609, allocations: 3.53 MB / 1.445 GB, free: 5.836 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/1.61, allocations: 1.493 MB / 1.447 GB, free: 4.309 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001663/1.612, allocations: 432.5 kB / 1.447 GB, free: 3.883 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004088/1.612, allocations: 167.4 kB / 1.447 GB, free: 3.719 MB / 1.123 GB Notification: Performance of SimCode: time 7.31e-07/1.612, allocations: 0 / 1.447 GB, free: 3.719 MB / 1.123 GB Notification: Performance of Templates: time 0.08052/1.693, allocations: 48.52 MB / 1.495 GB, free: 3.77 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