Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.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_9_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_9_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.001504/0.001504, allocations: 104.8 kB / 16.36 MB, free: 5.875 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.001676/0.001676, allocations: 199.2 kB / 17.3 MB, free: 5.516 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.275/2.275, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 58.66 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3061, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1305/0.4367, allocations: 132.2 MB / 1.08 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.6423/1.079, allocations: 23.2 MB / 1.103 GB, free: 45.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005766/1.085, allocations: 123.5 kB / 1.103 GB, free: 45.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004838/1.09, allocations: 1.487 MB / 1.104 GB, free: 45.73 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01321/1.103, allocations: 4.105 MB / 1.108 GB, free: 45.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007298/1.11, allocations: 2.172 MB / 1.111 GB, free: 45.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01206/1.122, allocations: 6.53 MB / 1.117 GB, free: 45.51 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005898/1.128, allocations: 2.361 MB / 1.119 GB, free: 45.19 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01128/1.14, allocations: 2.757 MB / 1.122 GB, free: 44.43 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005956/1.146, allocations: 1.888 MB / 1.124 GB, free: 43.68 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001559/1.147, allocations: 247.8 kB / 1.124 GB, free: 43.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007608/1.155, allocations: 1.932 MB / 1.126 GB, free: 43.08 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001547/1.156, allocations: 0.5936 MB / 1.127 GB, free: 42.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00439/1.161, allocations: 1.464 MB / 1.128 GB, free: 41.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01047/1.171, allocations: 4.352 MB / 1.132 GB, free: 40.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.171, allocations: 1 kB / 1.132 GB, free: 40.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.425e-06/1.171, allocations: 0 / 1.132 GB, free: 40.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001451/1.172, allocations: 0 / 1.132 GB, free: 40.3 MB / 0.8575 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.007777/1.179, allocations: 3.18 MB / 1.135 GB, free: 38.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.179, allocations: 9.094 kB / 1.135 GB, free: 38.3 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/1.184, allocations: 0.8452 MB / 1.136 GB, free: 38.11 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005798/1.19, allocations: 2.335 MB / 1.138 GB, free: 36.86 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/1.19, allocations: 124.1 kB / 1.139 GB, free: 36.81 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002813/1.19, allocations: 162.3 kB / 1.139 GB, free: 36.76 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00417/1.195, allocations: 1.92 MB / 1.141 GB, free: 35.94 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/1.195, allocations: 5.094 kB / 1.141 GB, free: 35.93 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/1.195, allocations: 66.84 kB / 1.141 GB, free: 35.88 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.896e-05/1.195, allocations: 41.28 kB / 1.141 GB, free: 35.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004853/1.2, allocations: 1.784 MB / 1.142 GB, free: 35.28 MB / 0.8575 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.01391/1.214, allocations: 8.983 MB / 1.151 GB, free: 28.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.218, allocations: 1.193 MB / 1.152 GB, free: 28.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.219, allocations: 457.7 kB / 1.153 GB, free: 28.32 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008188/1.219, allocations: 1.726 MB / 1.154 GB, free: 26.29 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.22, allocations: 46.66 kB / 1.155 GB, free: 26.24 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/1.22, allocations: 0 / 1.155 GB, free: 26.24 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.008396/1.228, allocations: 2.324 MB / 1.157 GB, free: 24.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/1.228, allocations: 89.89 kB / 1.157 GB, free: 24.88 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004003/1.232, allocations: 2.501 MB / 1.159 GB, free: 23.55 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002175/1.232, allocations: 45.52 kB / 1.159 GB, free: 23.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/1.233, allocations: 1.038 MB / 1.16 GB, free: 22.6 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/1.233, allocations: 272.7 kB / 1.161 GB, free: 22.37 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003767/1.233, allocations: 253.8 kB / 1.161 GB, free: 22.22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.545e-05/1.234, allocations: 344.7 kB / 1.161 GB, free: 21.89 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/1.235, allocations: 0.5716 MB / 1.162 GB, free: 21.61 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/1.237, allocations: 0.9552 MB / 1.163 GB, free: 20.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002555/1.239, allocations: 1.242 MB / 1.164 GB, free: 20.07 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.239, allocations: 6.531 kB / 1.164 GB, free: 20.06 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006037/1.245, allocations: 2.02 MB / 1.166 GB, free: 19.05 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/1.246, allocations: 16.33 kB / 1.166 GB, free: 19.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.246, allocations: 9.281 kB / 1.166 GB, free: 19.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/1.247, allocations: 422.7 kB / 1.166 GB, free: 18.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.248, allocations: 282.9 kB / 1.167 GB, free: 18.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/1.25, allocations: 1.5 MB / 1.168 GB, free: 17.47 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/1.253, allocations: 372.1 kB / 1.168 GB, free: 17.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/1.254, allocations: 58.25 kB / 1.168 GB, free: 17.25 MB / 0.8575 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.0009301/1.255, allocations: 463.9 kB / 1.169 GB, free: 16.92 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.255, allocations: 251.9 kB / 1.169 GB, free: 16.79 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/1.259, allocations: 1.484 MB / 1.171 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.699e-05/1.259, allocations: 16.23 kB / 1.171 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/1.259, allocations: 2.656 kB / 1.171 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/1.259, allocations: 3.984 kB / 1.171 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007959/1.267, allocations: 3.598 MB / 1.174 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/1.267, allocations: 2.844 kB / 1.174 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/1.267, allocations: 131.9 kB / 1.174 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/1.269, allocations: 419.6 kB / 1.175 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/1.269, allocations: 26.41 kB / 1.175 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/1.271, allocations: 1.569 MB / 1.176 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.271, allocations: 2.781 kB / 1.176 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00606/1.277, allocations: 1.941 MB / 1.178 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001793/1.279, allocations: 483.9 kB / 1.179 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004939/1.279, allocations: 23.98 kB / 1.179 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.281, allocations: 135.7 kB / 1.179 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/1.281, allocations: 68.38 kB / 1.179 GB, free: 10.24 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.281, allocations: 37.97 kB / 1.179 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003203/1.285, allocations: 1.753 MB / 1.181 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.21e-07/1.285, allocations: 0 / 1.181 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.003136/1.288, allocations: 0.6933 MB / 1.181 GB, free: 9.145 MB / 0.8575 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.001507/1.289, allocations: 0.6238 MB / 1.182 GB, free: 8.844 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004049/1.293, allocations: 1.357 MB / 1.183 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.293, allocations: 192 / 1.183 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.296, allocations: 0.664 MB / 1.184 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00636/1.302, allocations: 1.321 MB / 1.185 GB, free: 7.23 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/1.307, allocations: 3.53 MB / 1.189 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007067/1.308, allocations: 1.486 MB / 1.19 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001889/1.31, allocations: 440.5 kB / 1.19 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/1.31, allocations: 163.4 kB / 1.191 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of SimCode: time 9.91e-07/1.31, allocations: 0 / 1.191 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of Templates: time 0.07784/1.388, allocations: 48.18 MB / 1.238 GB, free: 2.266 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches