Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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_9_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_9_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.01135/0.01135, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.002289/0.002289, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.529/1.529, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.41 kB / 0.9508 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3675, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1279/0.4954, allocations: 132.3 MB / 1.217 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03692/0.5324, allocations: 23.25 MB / 1.24 GB, free: 5.496 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007092/0.5395, allocations: 123.2 kB / 1.24 GB, free: 5.375 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005705/0.5453, allocations: 1.494 MB / 1.241 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01548/0.5608, allocations: 4.095 MB / 1.245 GB, free: 15.76 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007247/0.5681, allocations: 2.172 MB / 1.247 GB, free: 13.61 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01259/0.5807, allocations: 6.537 MB / 1.254 GB, free: 7.051 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005772/0.5865, allocations: 2.359 MB / 1.256 GB, free: 4.629 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009005/0.5956, allocations: 2.753 MB / 1.259 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.9056/1.501, allocations: 1.877 MB / 1.261 GB, free: 50.89 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002652/1.504, allocations: 250.7 kB / 1.261 GB, free: 50.89 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0105/1.514, allocations: 1.94 MB / 1.263 GB, free: 50.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002013/1.517, allocations: 0.6045 MB / 1.263 GB, free: 50.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00402/1.521, allocations: 1.46 MB / 1.265 GB, free: 50.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/1.535, allocations: 4.355 MB / 1.269 GB, free: 50.79 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/1.535, allocations: 0 / 1.269 GB, free: 50.79 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.026e-06/1.535, allocations: 0.9688 kB / 1.269 GB, free: 50.79 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0002069/1.535, allocations: 0 / 1.269 GB, free: 50.79 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.01205/1.547, allocations: 3.183 MB / 1.272 GB, free: 49.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/1.547, allocations: 9.344 kB / 1.272 GB, free: 49.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006002/1.553, allocations: 0.8416 MB / 1.273 GB, free: 49.19 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007328/1.561, allocations: 2.316 MB / 1.275 GB, free: 48.62 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001736/1.561, allocations: 127.9 kB / 1.275 GB, free: 48.61 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000439/1.561, allocations: 160 kB / 1.276 GB, free: 48.61 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005103/1.566, allocations: 1.921 MB / 1.277 GB, free: 48.39 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.494e-05/1.566, allocations: 2.844 kB / 1.277 GB, free: 48.39 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001743/1.567, allocations: 61.81 kB / 1.278 GB, free: 48.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.404e-05/1.567, allocations: 39.06 kB / 1.278 GB, free: 48.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005561/1.572, allocations: 1.802 MB / 1.279 GB, free: 48.35 MB / 1.014 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.01741/1.59, allocations: 8.992 MB / 1.288 GB, free: 44.02 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004905/1.595, allocations: 1.196 MB / 1.289 GB, free: 43.95 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001262/1.596, allocations: 461.4 kB / 1.29 GB, free: 43.92 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000932/1.597, allocations: 1.727 MB / 1.291 GB, free: 41.95 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.645e-05/1.597, allocations: 44.81 kB / 1.291 GB, free: 41.91 MB / 1.014 GB Notification: Performance of pre-optimization done (n=76): time 3.406e-06/1.597, allocations: 0 / 1.291 GB, free: 41.91 MB / 1.014 GB Notification: Performance of matching and sorting (n=76): time 0.01014/1.607, allocations: 2.331 MB / 1.294 GB, free: 41.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/1.607, allocations: 93.41 kB / 1.294 GB, free: 41.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/1.613, allocations: 2.527 MB / 1.296 GB, free: 41.13 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000381/1.614, allocations: 43.67 kB / 1.296 GB, free: 41.1 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009583/1.615, allocations: 1.045 MB / 1.297 GB, free: 40.83 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/1.615, allocations: 264.5 kB / 1.298 GB, free: 40.67 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005265/1.616, allocations: 255.1 kB / 1.298 GB, free: 40.64 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.618e-05/1.616, allocations: 343.6 kB / 1.298 GB, free: 40.34 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/1.618, allocations: 0.5771 MB / 1.299 GB, free: 40.32 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/1.62, allocations: 0.9495 MB / 1.3 GB, free: 39.91 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003226/1.623, allocations: 1.253 MB / 1.301 GB, free: 39.59 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/1.623, allocations: 2.344 kB / 1.301 GB, free: 39.59 MB / 1.014 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007864/1.631, allocations: 2.027 MB / 1.303 GB, free: 39.35 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/1.631, allocations: 9.219 kB / 1.303 GB, free: 39.35 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/1.631, allocations: 7.844 kB / 1.303 GB, free: 39.35 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002059/1.633, allocations: 494.1 kB / 1.303 GB, free: 39.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.635, allocations: 282.6 kB / 1.304 GB, free: 39.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002224/1.637, allocations: 1.525 MB / 1.305 GB, free: 38.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003939/1.641, allocations: 366 kB / 1.305 GB, free: 38.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002814/1.641, allocations: 59.94 kB / 1.305 GB, free: 38.13 MB / 1.014 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.001316/1.642, allocations: 465.1 kB / 1.306 GB, free: 38.01 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009013/1.643, allocations: 247.7 kB / 1.306 GB, free: 37.88 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004173/1.647, allocations: 1.501 MB / 1.308 GB, free: 37.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.644e-05/1.648, allocations: 13.77 kB / 1.308 GB, free: 37.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.648, allocations: 0 / 1.308 GB, free: 37.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.648, allocations: 7 kB / 1.308 GB, free: 37.73 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/1.658, allocations: 3.617 MB / 1.311 GB, free: 37.12 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/1.658, allocations: 3.906 kB / 1.311 GB, free: 37.12 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/1.659, allocations: 136 kB / 1.311 GB, free: 37.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/1.661, allocations: 484.8 kB / 1.312 GB, free: 37.07 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.373e-05/1.661, allocations: 27.16 kB / 1.312 GB, free: 37.07 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/1.663, allocations: 1.584 MB / 1.313 GB, free: 36.01 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/1.663, allocations: 6.875 kB / 1.313 GB, free: 36.01 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007358/1.671, allocations: 1.94 MB / 1.315 GB, free: 35.51 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.673, allocations: 492.1 kB / 1.316 GB, free: 35.28 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/1.673, allocations: 18.36 kB / 1.316 GB, free: 35.28 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/1.675, allocations: 132.6 kB / 1.316 GB, free: 35.27 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/1.675, allocations: 72 kB / 1.316 GB, free: 35.26 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/1.675, allocations: 41.55 kB / 1.316 GB, free: 35.26 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003159/1.678, allocations: 1.767 MB / 1.318 GB, free: 35.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.21e-07/1.678, allocations: 4 kB / 1.318 GB, free: 35.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003044/1.681, allocations: 0.6989 MB / 1.318 GB, free: 35.02 MB / 1.014 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.001493/1.683, allocations: 0.6242 MB / 1.319 GB, free: 34.83 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004343/1.687, allocations: 1.346 MB / 1.32 GB, free: 34.79 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.687, allocations: 3.938 kB / 1.32 GB, free: 34.79 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.00258/1.69, allocations: 0.6722 MB / 1.321 GB, free: 34.78 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0082/1.698, allocations: 1.323 MB / 1.322 GB, free: 34.56 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006572/1.705, allocations: 3.552 MB / 1.326 GB, free: 33.13 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008811/1.706, allocations: 1.486 MB / 1.327 GB, free: 32.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002369/1.708, allocations: 429.6 kB / 1.328 GB, free: 32.26 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005162/1.709, allocations: 168.9 kB / 1.328 GB, free: 32.25 MB / 1.014 GB Notification: Performance of SimCode: time 1.112e-06/1.709, allocations: 4 kB / 1.328 GB, free: 32.25 MB / 1.014 GB Notification: Performance of Templates: time 0.07278/1.781, allocations: 48.82 MB / 1.375 GB, free: 0.6367 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches