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.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.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.007204/0.007204, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001541/0.001541, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.49/1.49, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.881/2.881, allocations: 461.8 MB / 0.7348 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 64.78 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3111, allocations: 157.4 MB / 1.053 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1275/0.4387, allocations: 131.4 MB / 1.181 GB, free: 4.465 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03456/0.4732, allocations: 23.31 MB / 1.204 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007956/0.4813, allocations: 115.2 kB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005976/0.4873, allocations: 1.208 MB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01247/0.4998, allocations: 3.771 MB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006397/0.5062, allocations: 1.964 MB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01158/0.5178, allocations: 8.268 MB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.5225, allocations: 1.97 MB / 1.221 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.529, allocations: 2.36 MB / 1.223 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004087/0.5331, allocations: 1.874 MB / 1.225 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000898/0.534, allocations: 120 kB / 1.225 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005868/0.5399, allocations: 1.734 MB / 1.227 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.5412, allocations: 485.7 kB / 1.227 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004521/0.5458, allocations: 1.321 MB / 1.228 GB, free: 3.801 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006829/0.5526, allocations: 3.329 MB / 1.232 GB, free: 476 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5527, allocations: 0 / 1.232 GB, free: 476 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5527, allocations: 0 / 1.232 GB, free: 476 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001509/0.5528, allocations: 3.938 kB / 1.232 GB, free: 472 kB / 0.9825 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.009672/0.5625, allocations: 3.153 MB / 1.235 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001352/0.5627, allocations: 15.97 kB / 1.235 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00515/0.5678, allocations: 0.8399 MB / 1.236 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006378/0.5742, allocations: 2.26 MB / 1.238 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001037/0.5753, allocations: 298.8 kB / 1.238 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005525/0.5759, allocations: 160 kB / 1.238 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005955/0.5818, allocations: 1.938 MB / 1.24 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.5819, allocations: 4 kB / 1.24 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.5822, allocations: 60 kB / 1.24 GB, free: 7.512 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.002e-05/0.5822, allocations: 43.94 kB / 1.24 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005547/0.5878, allocations: 1.811 MB / 1.242 GB, free: 5.656 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.5835/1.171, allocations: 8.998 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/1.176, allocations: 1.203 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001189/1.177, allocations: 458 kB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/1.178, allocations: 1.724 MB / 1.254 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/1.178, allocations: 47.06 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.767e-06/1.178, allocations: 0 / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008675/1.187, allocations: 2.322 MB / 1.256 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/1.187, allocations: 90.2 kB / 1.256 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004532/1.191, allocations: 2.485 MB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/1.191, allocations: 46.36 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008917/1.192, allocations: 1.047 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/1.193, allocations: 268.2 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004444/1.193, allocations: 253.3 kB / 1.26 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.815e-05/1.193, allocations: 345 kB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001724/1.195, allocations: 0.5878 MB / 1.261 GB, free: 181.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/1.197, allocations: 0.9711 MB / 1.262 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/1.2, allocations: 1.262 MB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.626e-06/1.2, allocations: 6.781 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007215/1.207, allocations: 2.045 MB / 1.266 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.518e-05/1.207, allocations: 10.8 kB / 1.266 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.422e-05/1.207, allocations: 8.062 kB / 1.266 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/1.209, allocations: 425.3 kB / 1.266 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.21, allocations: 284.3 kB / 1.266 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/1.212, allocations: 1.505 MB / 1.268 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/1.216, allocations: 439.2 kB / 1.268 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002235/1.216, allocations: 61.64 kB / 1.268 GB, free: 179.6 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 (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.000966/1.217, allocations: 463.1 kB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006235/1.218, allocations: 248.4 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004306/1.222, allocations: 1.496 MB / 1.27 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.972e-05/1.222, allocations: 11.25 kB / 1.27 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.222, allocations: 0.5312 kB / 1.27 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/1.222, allocations: 5.719 kB / 1.27 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009017/1.231, allocations: 3.588 MB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/1.231, allocations: 3.875 kB / 1.274 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/1.232, allocations: 133.3 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00164/1.233, allocations: 412.2 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-05/1.234, allocations: 26.61 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002394/1.236, allocations: 1.574 MB / 1.276 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/1.236, allocations: 8.562 kB / 1.276 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/1.242, allocations: 1.928 MB / 1.278 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/1.244, allocations: 494.3 kB / 1.278 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004014/1.244, allocations: 19.89 kB / 1.278 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.246, allocations: 176.3 kB / 1.278 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/1.246, allocations: 53.89 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.246, allocations: 47.38 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003276/1.249, allocations: 1.749 MB / 1.28 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.249, allocations: 0 / 1.28 GB, free: 175.8 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002592/1.252, allocations: 0.6798 MB / 1.281 GB, free: 175.7 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 (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.001279/1.253, allocations: 0.604 MB / 1.282 GB, free: 175.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00489/1.258, allocations: 1.345 MB / 1.283 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/1.258, allocations: 0 / 1.283 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003492/1.262, allocations: 0.6713 MB / 1.283 GB, free: 174.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/1.273, allocations: 1.259 MB / 1.285 GB, free: 174.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.283, allocations: 4.333 MB / 1.289 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.285, allocations: 1.479 MB / 1.29 GB, free: 171.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001495/1.286, allocations: 183.8 kB / 1.291 GB, free: 171 MB / 0.9981 GB Notification: Performance of SimCode: time 2.034e-06/1.286, allocations: 0 / 1.291 GB, free: 171 MB / 0.9981 GB Notification: Performance of Templates: time 0.1153/1.402, allocations: 61.99 MB / 1.351 GB, free: 116.2 MB / 0.9981 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches