Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.008888/0.008888, allocations: 99.56 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.001932/0.001932, allocations: 192.8 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.628/2.628, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 64.12 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119/1.121, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1552/1.276, allocations: 132.3 MB / 1.296 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.04214/1.318, allocations: 23.23 MB / 1.318 GB, free: 7.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00765/1.326, allocations: 127.2 kB / 1.319 GB, free: 7.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.006156/1.332, allocations: 1.483 MB / 1.32 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.01644/1.349, allocations: 4.11 MB / 1.324 GB, free: 2.074 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.007668/1.356, allocations: 2.175 MB / 1.326 GB, free: 15.92 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01228/1.369, allocations: 6.536 MB / 1.333 GB, free: 9.371 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005478/1.374, allocations: 2.355 MB / 1.335 GB, free: 6.957 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008047/1.382, allocations: 2.758 MB / 1.338 GB, free: 4.199 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005188/1.387, allocations: 1.89 MB / 1.339 GB, free: 2.301 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001192/1.389, allocations: 248 kB / 1.34 GB, free: 2.059 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006606/1.395, allocations: 1.942 MB / 1.342 GB, free: 116 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001353/1.397, allocations: 0.5992 MB / 1.342 GB, free: 15.51 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003973/1.401, allocations: 1.458 MB / 1.344 GB, free: 14.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01143/1.412, allocations: 4.376 MB / 1.348 GB, free: 9.66 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/1.412, allocations: 4 kB / 1.348 GB, free: 9.656 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.525e-06/1.412, allocations: 0 / 1.348 GB, free: 9.656 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.00021/1.412, allocations: 0 / 1.348 GB, free: 9.656 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.009884/1.422, allocations: 3.278 MB / 1.351 GB, free: 6.289 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 6.26e-05/1.422, allocations: 8.922 kB / 1.351 GB, free: 6.281 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005156/1.427, allocations: 0.8574 MB / 1.352 GB, free: 5.422 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006202/1.434, allocations: 2.329 MB / 1.354 GB, free: 3.02 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000177/1.434, allocations: 135 kB / 1.354 GB, free: 2.887 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/1.434, allocations: 156 kB / 1.354 GB, free: 2.734 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005318/1.44, allocations: 1.923 MB / 1.356 GB, free: 0.7461 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/1.44, allocations: 7.938 kB / 1.356 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002092/1.44, allocations: 60 kB / 1.356 GB, free: 0.6797 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/1.44, allocations: 36 kB / 1.356 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005147/1.445, allocations: 1.807 MB / 1.358 GB, free: 14.84 MB / 1.092 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.01611/1.461, allocations: 9.026 MB / 1.367 GB, free: 5.207 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/1.466, allocations: 1.189 MB / 1.368 GB, free: 4 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001171/1.467, allocations: 466.2 kB / 1.369 GB, free: 3.539 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.468, allocations: 1.722 MB / 1.37 GB, free: 1.43 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/1.468, allocations: 46.56 kB / 1.37 GB, free: 1.375 MB / 1.092 GB Notification: Performance of pre-optimization done (n=76): time 3.025e-06/1.468, allocations: 0 / 1.37 GB, free: 1.375 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.009285/1.478, allocations: 2.346 MB / 1.373 GB, free: 14.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.769e-05/1.478, allocations: 85.11 kB / 1.373 GB, free: 14.88 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006498/1.484, allocations: 2.528 MB / 1.375 GB, free: 12.33 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.485, allocations: 41.7 kB / 1.375 GB, free: 12.28 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001337/1.486, allocations: 1.062 MB / 1.376 GB, free: 11.21 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004731/1.486, allocations: 281.6 kB / 1.376 GB, free: 10.93 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007085/1.487, allocations: 258.7 kB / 1.377 GB, free: 10.67 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001607/1.487, allocations: 349.9 kB / 1.377 GB, free: 10.32 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/1.489, allocations: 0.5725 MB / 1.378 GB, free: 9.754 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/1.491, allocations: 0.9504 MB / 1.379 GB, free: 8.652 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/1.495, allocations: 1.248 MB / 1.38 GB, free: 7.301 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/1.495, allocations: 4 kB / 1.38 GB, free: 7.297 MB / 1.107 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007317/1.502, allocations: 2.033 MB / 1.382 GB, free: 5.246 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/1.502, allocations: 11.98 kB / 1.382 GB, free: 5.234 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.502, allocations: 8 kB / 1.382 GB, free: 5.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/1.504, allocations: 493.3 kB / 1.382 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/1.506, allocations: 279.5 kB / 1.383 GB, free: 4.465 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002314/1.508, allocations: 1.521 MB / 1.384 GB, free: 2.895 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/1.511, allocations: 374.5 kB / 1.384 GB, free: 2.527 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/1.511, allocations: 59.97 kB / 1.384 GB, free: 2.469 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.001301/1.513, allocations: 457.9 kB / 1.385 GB, free: 2.012 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/1.514, allocations: 258.4 kB / 1.385 GB, free: 1.758 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/1.518, allocations: 1.5 MB / 1.387 GB, free: 240 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.071e-05/1.518, allocations: 12 kB / 1.387 GB, free: 228 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/1.518, allocations: 4 kB / 1.387 GB, free: 224 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/1.518, allocations: 3.984 kB / 1.387 GB, free: 220 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/1.528, allocations: 3.633 MB / 1.39 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/1.528, allocations: 4 kB / 1.39 GB, free: 12.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000616/1.528, allocations: 128.2 kB / 1.39 GB, free: 12.34 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/1.53, allocations: 497 kB / 1.391 GB, free: 11.85 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.058e-05/1.53, allocations: 23.98 kB / 1.391 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/1.533, allocations: 1.586 MB / 1.392 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/1.533, allocations: 11.94 kB / 1.392 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006445/1.54, allocations: 1.952 MB / 1.394 GB, free: 8.164 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.541, allocations: 0.4912 MB / 1.395 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008082/1.542, allocations: 27.88 kB / 1.395 GB, free: 7.625 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002229/1.544, allocations: 132 kB / 1.395 GB, free: 7.496 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.574e-05/1.544, allocations: 55.88 kB / 1.395 GB, free: 7.441 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/1.544, allocations: 47.89 kB / 1.395 GB, free: 7.395 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00416/1.549, allocations: 1.769 MB / 1.397 GB, free: 5.621 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.549, allocations: 4 kB / 1.397 GB, free: 5.617 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002855/1.551, allocations: 0.6979 MB / 1.397 GB, free: 4.918 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.001677/1.553, allocations: 0.6219 MB / 1.398 GB, free: 4.297 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.004475/1.558, allocations: 1.347 MB / 1.399 GB, free: 2.949 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/1.558, allocations: 192 / 1.399 GB, free: 2.949 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.002461/1.56, allocations: 0.6749 MB / 1.4 GB, free: 2.273 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007826/1.568, allocations: 1.324 MB / 1.401 GB, free: 0.9688 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01382/1.582, allocations: 3.63 MB / 1.405 GB, free: 13.26 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002582/1.584, allocations: 1.493 MB / 1.406 GB, free: 11.73 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.004277/1.589, allocations: 430.8 kB / 1.407 GB, free: 11.31 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/1.59, allocations: 163.4 kB / 1.407 GB, free: 11.15 MB / 1.139 GB Notification: Performance of SimCode: time 3.176e-06/1.59, allocations: 0 / 1.407 GB, free: 11.15 MB / 1.139 GB Notification: Performance of Templates: time 0.1662/1.756, allocations: 48.81 MB / 1.454 GB, free: 10.91 MB / 1.186 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches