Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001444/0.001444, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002192/0.002192, allocations: 193.5 kB / 16.25 MB, free: 6.633 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.504/1.504, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.516/2.516, allocations: 390.2 MB / 0.6643 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 67.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7991, allocations: 140.4 MB / 0.9491 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1298/0.929, allocations: 131.1 MB / 1.077 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03672/0.9658, allocations: 23.07 MB / 1.1 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006894/0.9727, allocations: 115.2 kB / 1.1 GB, free: 7.371 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00522/0.978, allocations: 1.279 MB / 1.101 GB, free: 6.086 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.9917, allocations: 3.812 MB / 1.105 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006518/0.9983, allocations: 1.985 MB / 1.107 GB, free: 300 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01256/1.011, allocations: 6.585 MB / 1.113 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/1.016, allocations: 2.341 MB / 1.115 GB, free: 7.285 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009578/1.025, allocations: 2.77 MB / 1.118 GB, free: 4.512 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004224/1.03, allocations: 1.948 MB / 1.12 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000815/1.03, allocations: 248 kB / 1.12 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005561/1.036, allocations: 1.953 MB / 1.122 GB, free: 364 kB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009933/1.037, allocations: 0.607 MB / 1.123 GB, free: 15.75 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002685/1.04, allocations: 1.454 MB / 1.124 GB, free: 14.29 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008213/1.048, allocations: 4.339 MB / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/1.048, allocations: 0 / 1.128 GB, free: 9.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.863e-06/1.048, allocations: 11.94 kB / 1.128 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.388e-05/1.048, allocations: 0 / 1.128 GB, free: 9.922 MB / 0.8887 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.006962/1.055, allocations: 3.177 MB / 1.131 GB, free: 6.66 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.055, allocations: 8.031 kB / 1.131 GB, free: 6.652 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004683/1.06, allocations: 0.8436 MB / 1.132 GB, free: 5.805 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004835/1.065, allocations: 2.249 MB / 1.135 GB, free: 3.48 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009515/1.066, allocations: 290.8 kB / 1.135 GB, free: 3.195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003549/1.066, allocations: 167.9 kB / 1.135 GB, free: 3.031 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/1.07, allocations: 1.934 MB / 1.137 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/1.07, allocations: 7.938 kB / 1.137 GB, free: 1.023 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/1.071, allocations: 63.94 kB / 1.137 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.945e-05/1.071, allocations: 36 kB / 1.137 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/1.075, allocations: 1.831 MB / 1.139 GB, free: 15.09 MB / 0.9044 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.01528/1.091, allocations: 9.031 MB / 1.148 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004299/1.095, allocations: 1.204 MB / 1.149 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/1.096, allocations: 457.4 kB / 1.149 GB, free: 3.789 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001224/1.097, allocations: 1.723 MB / 1.151 GB, free: 1.68 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/1.097, allocations: 38.56 kB / 1.151 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.725e-06/1.097, allocations: 0 / 1.151 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008924/1.106, allocations: 2.343 MB / 1.153 GB, free: 15.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.106, allocations: 89.11 kB / 1.153 GB, free: 15.13 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004373/1.111, allocations: 2.509 MB / 1.156 GB, free: 12.6 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002225/1.111, allocations: 45.7 kB / 1.156 GB, free: 12.55 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009577/1.112, allocations: 1.049 MB / 1.157 GB, free: 11.49 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000354/1.112, allocations: 276.1 kB / 1.157 GB, free: 11.22 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/1.113, allocations: 254.6 kB / 1.157 GB, free: 10.96 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001358/1.113, allocations: 349.9 kB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001836/1.115, allocations: 0.5881 MB / 1.158 GB, free: 10.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002271/1.117, allocations: 0.9698 MB / 1.159 GB, free: 8.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003197/1.12, allocations: 1.268 MB / 1.16 GB, free: 7.535 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/1.12, allocations: 0 / 1.16 GB, free: 7.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007374/1.128, allocations: 2.048 MB / 1.162 GB, free: 5.473 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.315e-05/1.128, allocations: 8 kB / 1.162 GB, free: 5.465 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/1.128, allocations: 8 kB / 1.162 GB, free: 5.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/1.13, allocations: 0.4914 MB / 1.163 GB, free: 4.961 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/1.131, allocations: 295.5 kB / 1.163 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00216/1.133, allocations: 1.514 MB / 1.165 GB, free: 3.105 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003551/1.137, allocations: 429.9 kB / 1.165 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002029/1.137, allocations: 67.95 kB / 1.165 GB, free: 2.617 MB / 0.92 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.001084/1.138, allocations: 457.5 kB / 1.166 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005699/1.138, allocations: 252.8 kB / 1.166 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003575/1.142, allocations: 1.502 MB / 1.167 GB, free: 396 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/1.142, allocations: 12 kB / 1.167 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.142, allocations: 0 / 1.167 GB, free: 384 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.142, allocations: 7.984 kB / 1.167 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007692/1.15, allocations: 3.608 MB / 1.171 GB, free: 12.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.15, allocations: 4 kB / 1.171 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006037/1.15, allocations: 119.8 kB / 1.171 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001729/1.152, allocations: 497.2 kB / 1.171 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/1.152, allocations: 23.98 kB / 1.171 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/1.155, allocations: 1.586 MB / 1.173 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/1.155, allocations: 7.969 kB / 1.173 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006232/1.161, allocations: 1.935 MB / 1.175 GB, free: 8.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001355/1.163, allocations: 493.7 kB / 1.175 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003729/1.163, allocations: 23.98 kB / 1.175 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/1.165, allocations: 179.5 kB / 1.176 GB, free: 7.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/1.165, allocations: 59.81 kB / 1.176 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001093/1.165, allocations: 43.97 kB / 1.176 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003471/1.168, allocations: 1.773 MB / 1.177 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.9e-07/1.168, allocations: 0 / 1.177 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002516/1.171, allocations: 0.6789 MB / 1.178 GB, free: 5.102 MB / 0.9356 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.001213/1.172, allocations: 0.6059 MB / 1.179 GB, free: 4.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004467/1.177, allocations: 1.392 MB / 1.18 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/1.177, allocations: 0 / 1.18 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.179, allocations: 0.6741 MB / 1.181 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006537/1.186, allocations: 1.331 MB / 1.182 GB, free: 1.137 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007324/1.193, allocations: 4.315 MB / 1.186 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/1.194, allocations: 1.478 MB / 1.188 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002396/1.196, allocations: 435.4 kB / 1.188 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004945/1.197, allocations: 171.4 kB / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of SimCode: time 4.388e-06/1.197, allocations: 0 / 1.188 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of Templates: time 0.09221/1.289, allocations: 50.49 MB / 1.237 GB, free: 8.809 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches