Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006279/0.006279, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001187/0.001187, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.445/1.445, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.794/2.794, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 68.12 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4049, allocations: 157.4 MB / 1.208 GB, free: 9.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.992/1.397, allocations: 132.3 MB / 1.337 GB, free: 1.094 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.03972/1.437, allocations: 23.21 MB / 1.36 GB, free: 380 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007683/1.445, allocations: 128.4 kB / 1.36 GB, free: 328 kB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006184/1.451, allocations: 1.491 MB / 1.361 GB, free: 15.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01695/1.468, allocations: 4.11 MB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.008719/1.476, allocations: 2.168 MB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01488/1.491, allocations: 6.546 MB / 1.374 GB, free: 7.234 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005871/1.497, allocations: 2.359 MB / 1.376 GB, free: 5.703 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009333/1.507, allocations: 2.805 MB / 1.379 GB, free: 3.969 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0052/1.512, allocations: 1.895 MB / 1.381 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001246/1.513, allocations: 247.8 kB / 1.381 GB, free: 2.801 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007712/1.521, allocations: 1.934 MB / 1.383 GB, free: 1.785 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/1.522, allocations: 0.5973 MB / 1.383 GB, free: 1.289 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004545/1.527, allocations: 1.462 MB / 1.385 GB, free: 308 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01093/1.538, allocations: 4.354 MB / 1.389 GB, free: 13.39 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.538, allocations: 0 / 1.389 GB, free: 13.39 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/1.538, allocations: 0 / 1.389 GB, free: 13.39 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001379/1.538, allocations: 4 kB / 1.389 GB, free: 13.39 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.009937/1.548, allocations: 3.182 MB / 1.392 GB, free: 11.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.548, allocations: 10.28 kB / 1.392 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/1.553, allocations: 0.8365 MB / 1.393 GB, free: 10.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008645/1.562, allocations: 2.323 MB / 1.395 GB, free: 8.863 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002589/1.562, allocations: 127.7 kB / 1.395 GB, free: 8.805 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006408/1.563, allocations: 158.3 kB / 1.395 GB, free: 8.758 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006411/1.569, allocations: 1.926 MB / 1.397 GB, free: 7.574 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.627e-05/1.57, allocations: 6.438 kB / 1.397 GB, free: 7.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/1.57, allocations: 61.69 kB / 1.397 GB, free: 7.523 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-05/1.57, allocations: 36.78 kB / 1.397 GB, free: 7.523 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005464/1.575, allocations: 1.797 MB / 1.399 GB, free: 6.637 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.01644/1.592, allocations: 8.997 MB / 1.408 GB, free: 13.31 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/1.596, allocations: 1.2 MB / 1.409 GB, free: 12.1 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/1.598, allocations: 465.4 kB / 1.41 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.599, allocations: 1.723 MB / 1.411 GB, free: 9.531 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.599, allocations: 38.56 kB / 1.411 GB, free: 9.484 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/1.599, allocations: 0 / 1.411 GB, free: 9.484 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.009537/1.609, allocations: 2.357 MB / 1.414 GB, free: 7.074 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/1.609, allocations: 85.11 kB / 1.414 GB, free: 6.973 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005314/1.614, allocations: 2.52 MB / 1.416 GB, free: 4.434 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001899/1.614, allocations: 45.7 kB / 1.416 GB, free: 4.383 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.00105/1.615, allocations: 1.045 MB / 1.417 GB, free: 3.328 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003629/1.616, allocations: 264.2 kB / 1.417 GB, free: 3.066 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006768/1.616, allocations: 258.6 kB / 1.418 GB, free: 2.809 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.617, allocations: 341.9 kB / 1.418 GB, free: 2.469 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/1.618, allocations: 0.5764 MB / 1.419 GB, free: 1.891 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00227/1.621, allocations: 0.9504 MB / 1.42 GB, free: 0.793 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003285/1.624, allocations: 1.252 MB / 1.421 GB, free: 15.43 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/1.624, allocations: 4 kB / 1.421 GB, free: 15.43 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007446/1.631, allocations: 2.017 MB / 1.423 GB, free: 13.39 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.908e-05/1.632, allocations: 12.12 kB / 1.423 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.796e-05/1.632, allocations: 11.98 kB / 1.423 GB, free: 13.37 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002102/1.634, allocations: 485.1 kB / 1.423 GB, free: 12.89 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/1.635, allocations: 287.5 kB / 1.423 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/1.637, allocations: 1.518 MB / 1.425 GB, free: 11.04 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003314/1.641, allocations: 369.9 kB / 1.425 GB, free: 10.67 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.641, allocations: 63.91 kB / 1.425 GB, free: 10.61 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001003/1.642, allocations: 461.5 kB / 1.426 GB, free: 10.15 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/1.643, allocations: 245 kB / 1.426 GB, free: 9.906 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004209/1.647, allocations: 1.508 MB / 1.428 GB, free: 8.387 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.609e-05/1.647, allocations: 12 kB / 1.428 GB, free: 8.375 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/1.647, allocations: 0 / 1.428 GB, free: 8.375 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.647, allocations: 3.984 kB / 1.428 GB, free: 8.371 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009312/1.656, allocations: 3.616 MB / 1.431 GB, free: 4.645 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/1.656, allocations: 7.984 kB / 1.431 GB, free: 4.637 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/1.657, allocations: 128.1 kB / 1.431 GB, free: 4.512 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/1.659, allocations: 0.4892 MB / 1.432 GB, free: 4.016 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.222e-05/1.659, allocations: 27.98 kB / 1.432 GB, free: 3.988 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002707/1.662, allocations: 1.579 MB / 1.433 GB, free: 2.359 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/1.662, allocations: 11.88 kB / 1.433 GB, free: 2.348 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/1.669, allocations: 1.931 MB / 1.435 GB, free: 356 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001555/1.67, allocations: 497.6 kB / 1.436 GB, free: 15.84 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007918/1.671, allocations: 16 kB / 1.436 GB, free: 15.82 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.673, allocations: 147.8 kB / 1.436 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.673, allocations: 51.88 kB / 1.436 GB, free: 15.62 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.674, allocations: 47.95 kB / 1.436 GB, free: 15.58 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00391/1.678, allocations: 1.769 MB / 1.438 GB, free: 13.8 MB / 1.123 GB Notification: Performance of sort global known variables: time 3.9e-07/1.678, allocations: 0 / 1.438 GB, free: 13.8 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.003065/1.681, allocations: 0.6867 MB / 1.438 GB, free: 13.12 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001656/1.682, allocations: 0.625 MB / 1.439 GB, free: 12.5 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.00456/1.687, allocations: 1.353 MB / 1.44 GB, free: 11.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/1.687, allocations: 0 / 1.44 GB, free: 11.15 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002631/1.69, allocations: 0.6782 MB / 1.441 GB, free: 10.47 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00742/1.697, allocations: 1.33 MB / 1.442 GB, free: 9.156 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00778/1.705, allocations: 3.551 MB / 1.446 GB, free: 5.535 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001903/1.707, allocations: 1.49 MB / 1.447 GB, free: 4.012 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.002259/1.709, allocations: 440 kB / 1.448 GB, free: 3.582 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/1.71, allocations: 163.4 kB / 1.448 GB, free: 3.426 MB / 1.123 GB Notification: Performance of SimCode: time 9.12e-07/1.71, allocations: 0 / 1.448 GB, free: 3.426 MB / 1.123 GB Notification: Performance of Templates: time 0.08512/1.795, allocations: 49.8 MB / 1.496 GB, free: 2.203 MB / 1.17 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches