Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001478/0.001478, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.00144/0.00144, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.375/1.375, allocations: 222.9 MB / 240.6 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.753/2.753, allocations: 469.8 MB / 0.7427 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 75.16 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3077, allocations: 159.2 MB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1386/0.4464, allocations: 131.1 MB / 1.192 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03515/0.4815, allocations: 23.06 MB / 1.215 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005007/0.4866, allocations: 115.2 kB / 1.215 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00477/0.4914, allocations: 1.279 MB / 1.216 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01191/0.5034, allocations: 3.822 MB / 1.22 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00597/0.5094, allocations: 1.983 MB / 1.222 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01034/0.5197, allocations: 6.568 MB / 1.228 GB, free: 6.227 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004063/0.5238, allocations: 2.339 MB / 1.23 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007398/0.5312, allocations: 2.758 MB / 1.233 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.535, allocations: 1.937 MB / 1.235 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006708/0.5357, allocations: 244 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004872/0.5406, allocations: 1.961 MB / 1.237 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0008181/0.5414, allocations: 0.5915 MB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002428/0.5439, allocations: 1.458 MB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005372/0.5493, allocations: 3.376 MB / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5493, allocations: 0 / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5493, allocations: 0 / 1.242 GB, free: 7.473 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.587e-05/0.5494, allocations: 0 / 1.242 GB, free: 7.473 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.006865/0.5562, allocations: 3.166 MB / 1.246 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.5563, allocations: 8.031 kB / 1.246 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.5609, allocations: 0.8438 MB / 1.246 GB, free: 3.367 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005/0.5659, allocations: 2.268 MB / 1.249 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009739/0.5669, allocations: 290.8 kB / 1.249 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003834/0.5673, allocations: 164 kB / 1.249 GB, free: 0.5781 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5212/1.089, allocations: 1.929 MB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.88e-05/1.089, allocations: 1.797 kB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.089, allocations: 62.84 kB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.434e-05/1.089, allocations: 45.44 kB / 1.251 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004749/1.094, allocations: 1.814 MB / 1.253 GB, free: 181.5 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.01202/1.106, allocations: 9 MB / 1.262 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004028/1.11, allocations: 1.195 MB / 1.263 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000999/1.111, allocations: 462.6 kB / 1.263 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008226/1.112, allocations: 1.721 MB / 1.265 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.112, allocations: 43.58 kB / 1.265 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.385e-06/1.112, allocations: 2.625 kB / 1.265 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008171/1.12, allocations: 2.325 MB / 1.267 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/1.12, allocations: 85.23 kB / 1.267 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00371/1.124, allocations: 2.487 MB / 1.27 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001539/1.124, allocations: 47.17 kB / 1.27 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/1.125, allocations: 1.043 MB / 1.271 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002719/1.125, allocations: 270 kB / 1.271 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004715/1.125, allocations: 257.1 kB / 1.271 GB, free: 172.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.445e-05/1.125, allocations: 343.7 kB / 1.272 GB, free: 172 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001785/1.127, allocations: 0.5886 MB / 1.272 GB, free: 171.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/1.129, allocations: 0.9668 MB / 1.273 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002821/1.132, allocations: 1.273 MB / 1.274 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/1.132, allocations: 2.984 kB / 1.274 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007125/1.139, allocations: 2.047 MB / 1.276 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/1.139, allocations: 6.844 kB / 1.276 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.139, allocations: 9.938 kB / 1.276 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/1.141, allocations: 418.4 kB / 1.277 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.142, allocations: 291.5 kB / 1.277 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/1.144, allocations: 1.499 MB / 1.278 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00304/1.147, allocations: 442 kB / 1.279 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/1.147, allocations: 60.3 kB / 1.279 GB, free: 168.5 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.0008332/1.148, allocations: 462.7 kB / 1.279 GB, free: 168.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004729/1.149, allocations: 243.5 kB / 1.28 GB, free: 168 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003493/1.152, allocations: 1.498 MB / 1.281 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/1.152, allocations: 14.61 kB / 1.281 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/1.152, allocations: 0.75 kB / 1.281 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/1.152, allocations: 5.141 kB / 1.281 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007205/1.159, allocations: 3.589 MB / 1.285 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.159, allocations: 3.281 kB / 1.285 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005886/1.16, allocations: 125.6 kB / 1.285 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/1.161, allocations: 415.9 kB / 1.285 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.501e-05/1.161, allocations: 30.7 kB / 1.285 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/1.164, allocations: 1.565 MB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.164, allocations: 8.375 kB / 1.287 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/1.169, allocations: 1.93 MB / 1.289 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.17, allocations: 492.8 kB / 1.289 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003496/1.171, allocations: 19.5 kB / 1.289 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.172, allocations: 172.5 kB / 1.289 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.777e-05/1.172, allocations: 63.7 kB / 1.289 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/1.172, allocations: 42.16 kB / 1.289 GB, free: 163 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002741/1.175, allocations: 1.747 MB / 1.291 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.9e-07/1.175, allocations: 1.125 kB / 1.291 GB, free: 162.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002116/1.177, allocations: 0.6785 MB / 1.292 GB, free: 162 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.001099/1.178, allocations: 0.5943 MB / 1.292 GB, free: 161.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004025/1.183, allocations: 1.399 MB / 1.294 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.183, allocations: 0 / 1.294 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/1.185, allocations: 0.6677 MB / 1.294 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00573/1.19, allocations: 1.34 MB / 1.296 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005944/1.196, allocations: 4.332 MB / 1.3 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007714/1.197, allocations: 1.481 MB / 1.301 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006447/1.198, allocations: 183.2 kB / 1.301 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.91e-07/1.198, allocations: 0 / 1.301 GB, free: 156.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.05615/1.254, allocations: 62 MB / 1.362 GB, free: 99.2 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches