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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.00115/0.001151, allocations: 96.14 kB / 16.03 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 184.7 kB / 16.92 MB, free: 6.75 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.528/1.528, allocations: 223.3 MB / 241 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.737 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003742, allocations: 11.84 kB / 0.9034 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3587, allocations: 159.6 MB / 1.059 GB, free: 5.031 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1357/0.4944, allocations: 129.4 MB / 1.186 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03528/0.5297, allocations: 23.07 MB / 1.208 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006418/0.5362, allocations: 111.2 kB / 1.208 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005277/0.5415, allocations: 1.208 MB / 1.21 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/0.5565, allocations: 3.768 MB / 1.213 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00671/0.5633, allocations: 1.964 MB / 1.215 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01231/0.5756, allocations: 8.291 MB / 1.223 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.5799, allocations: 1.913 MB / 1.225 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006534/0.5865, allocations: 2.298 MB / 1.227 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/0.5905, allocations: 1.796 MB / 1.229 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008286/0.5913, allocations: 88 kB / 1.229 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005177/0.5965, allocations: 1.711 MB / 1.231 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.5976, allocations: 449.6 kB / 1.231 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003056/0.6007, allocations: 1.292 MB / 1.233 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005519/0.6062, allocations: 3.254 MB / 1.236 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.6063, allocations: 11.94 kB / 1.236 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.956e-06/0.6063, allocations: 4 kB / 1.236 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001548/0.6064, allocations: 0 / 1.236 GB, free: 15.81 MB / 0.9981 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.006696/0.6131, allocations: 2.671 MB / 1.238 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.6132, allocations: 15.97 kB / 1.238 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005061/0.6183, allocations: 0.9574 MB / 1.239 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.6239, allocations: 2.257 MB / 1.241 GB, free: 9.75 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001104/0.625, allocations: 322.8 kB / 1.242 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/0.6255, allocations: 160 kB / 1.242 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005145/0.6307, allocations: 1.98 MB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.6308, allocations: 7.922 kB / 1.244 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002445/0.631, allocations: 64 kB / 1.244 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.974e-05/0.6311, allocations: 40 kB / 1.244 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00563/0.6367, allocations: 1.924 MB / 1.246 GB, free: 5.199 MB / 0.9981 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.7008/1.338, allocations: 9.097 MB / 1.255 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/1.343, allocations: 1.312 MB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/1.344, allocations: 485.5 kB / 1.256 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008784/1.345, allocations: 1.719 MB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/1.345, allocations: 41.5 kB / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.655e-06/1.345, allocations: 0 / 1.258 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009365/1.354, allocations: 2.527 MB / 1.261 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/1.354, allocations: 86.86 kB / 1.261 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006407/1.361, allocations: 2.535 MB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002191/1.361, allocations: 42.67 kB / 1.263 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001146/1.362, allocations: 1.046 MB / 1.264 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/1.362, allocations: 273.8 kB / 1.265 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/1.363, allocations: 90.84 kB / 1.265 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/1.363, allocations: 346.8 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/1.365, allocations: 0.6291 MB / 1.266 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002413/1.367, allocations: 1.015 MB / 1.267 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003454/1.371, allocations: 1.33 MB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.554e-05/1.371, allocations: 2.469 kB / 1.268 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00836/1.379, allocations: 2.19 MB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/1.379, allocations: 12.62 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/1.379, allocations: 14.17 kB / 1.27 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/1.382, allocations: 0.4981 MB / 1.271 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/1.383, allocations: 306.4 kB / 1.271 GB, free: 177 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/1.386, allocations: 1.563 MB / 1.272 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/1.39, allocations: 479.9 kB / 1.273 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/1.39, allocations: 58.94 kB / 1.273 GB, free: 175.8 MB / 0.9981 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.001545/1.392, allocations: 455.8 kB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008968/1.393, allocations: 251.5 kB / 1.274 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00483/1.397, allocations: 1.558 MB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.724e-05/1.397, allocations: 13.12 kB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/1.397, allocations: 1.188 kB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/1.397, allocations: 4.734 kB / 1.275 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/1.408, allocations: 3.699 MB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.594e-05/1.408, allocations: 4 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/1.409, allocations: 137.9 kB / 1.279 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002022/1.411, allocations: 0.5032 MB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/1.411, allocations: 29.91 kB / 1.279 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/1.414, allocations: 1.645 MB / 1.281 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.414, allocations: 12.97 kB / 1.281 GB, free: 173.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007095/1.421, allocations: 2.082 MB / 1.283 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001841/1.423, allocations: 0.5105 MB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008817/1.424, allocations: 20.53 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002536/1.426, allocations: 196.5 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.426, allocations: 63.31 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/1.427, allocations: 39.45 kB / 1.284 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004586/1.431, allocations: 1.793 MB / 1.286 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.31e-07/1.431, allocations: 1.641 kB / 1.286 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003499/1.435, allocations: 0.6858 MB / 1.286 GB, free: 171.6 MB / 0.9981 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.001644/1.436, allocations: 0.6007 MB / 1.287 GB, free: 171.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005055/1.441, allocations: 1.444 MB / 1.288 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/1.442, allocations: 1.625 kB / 1.288 GB, free: 171 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002706/1.444, allocations: 0.7378 MB / 1.289 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009888/1.454, allocations: 1.322 MB / 1.29 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008452/1.463, allocations: 4.385 MB / 1.295 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/1.464, allocations: 1.491 MB / 1.296 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008213/1.465, allocations: 193.8 kB / 1.296 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.262e-06/1.465, allocations: 0 / 1.296 GB, free: 166.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.06579/1.531, allocations: 61.82 MB / 1.357 GB, free: 110.7 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches