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.001167/0.001167, allocations: 108 kB / 15.6 MB, free: 132 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.001666/0.001666, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.44/2.44, allocations: 390.2 MB / 0.6646 GB, free: 404 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.8125 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7899/0.7914, allocations: 140.4 MB / 0.9496 GB, free: 9.188 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1327/0.9241, allocations: 132.3 MB / 1.079 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03553/0.9597, allocations: 23.22 MB / 1.101 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006848/0.9666, allocations: 127.2 kB / 1.102 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.006299/0.973, allocations: 1.486 MB / 1.103 GB, free: 4.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01653/0.9896, allocations: 4.106 MB / 1.107 GB, free: 156 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007693/0.9973, allocations: 2.149 MB / 1.109 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01277/1.01, allocations: 6.535 MB / 1.115 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005241/1.015, allocations: 2.353 MB / 1.118 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008496/1.024, allocations: 2.741 MB / 1.12 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00424/1.028, allocations: 1.89 MB / 1.122 GB, free: 424 kB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007122/1.029, allocations: 251.9 kB / 1.123 GB, free: 172 kB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005843/1.035, allocations: 1.93 MB / 1.124 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0007606/1.036, allocations: 0.5953 MB / 1.125 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002594/1.038, allocations: 1.469 MB / 1.126 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009405/1.048, allocations: 4.304 MB / 1.131 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/1.048, allocations: 0 / 1.131 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.605e-06/1.048, allocations: 0 / 1.131 GB, free: 7.844 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.924e-05/1.048, allocations: 0 / 1.131 GB, free: 7.844 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.007165/1.055, allocations: 3.187 MB / 1.134 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/1.055, allocations: 8.031 kB / 1.134 GB, free: 4.562 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004439/1.059, allocations: 0.8436 MB / 1.135 GB, free: 3.715 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004392/1.064, allocations: 2.202 MB / 1.137 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009187/1.065, allocations: 286.9 kB / 1.137 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/1.065, allocations: 167.9 kB / 1.137 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004142/1.069, allocations: 1.934 MB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/1.069, allocations: 3.938 kB / 1.139 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/1.069, allocations: 71.94 kB / 1.139 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/1.069, allocations: 36 kB / 1.139 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004708/1.074, allocations: 1.827 MB / 1.141 GB, free: 13.05 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.01483/1.089, allocations: 9.078 MB / 1.15 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/1.093, allocations: 1.207 MB / 1.151 GB, free: 2.156 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/1.094, allocations: 465.4 kB / 1.151 GB, free: 1.695 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/1.096, allocations: 1.715 MB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.096, allocations: 42.56 kB / 1.153 GB, free: 15.54 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 3.627e-06/1.096, allocations: 0 / 1.153 GB, free: 15.54 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.009126/1.105, allocations: 2.343 MB / 1.155 GB, free: 13.14 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.105, allocations: 85.11 kB / 1.156 GB, free: 13.04 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/1.11, allocations: 2.54 MB / 1.158 GB, free: 10.48 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002485/1.11, allocations: 49.7 kB / 1.158 GB, free: 10.43 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009694/1.111, allocations: 1.041 MB / 1.159 GB, free: 9.379 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003711/1.112, allocations: 272.2 kB / 1.159 GB, free: 9.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004495/1.112, allocations: 258.5 kB / 1.16 GB, free: 8.852 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001431/1.112, allocations: 349.9 kB / 1.16 GB, free: 8.504 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/1.114, allocations: 0.5842 MB / 1.16 GB, free: 7.918 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002309/1.116, allocations: 0.9737 MB / 1.161 GB, free: 6.793 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003287/1.12, allocations: 1.271 MB / 1.163 GB, free: 5.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/1.12, allocations: 4 kB / 1.163 GB, free: 5.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007478/1.127, allocations: 2.047 MB / 1.165 GB, free: 3.352 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/1.127, allocations: 8 kB / 1.165 GB, free: 3.344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.127, allocations: 8 kB / 1.165 GB, free: 3.336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/1.129, allocations: 497.7 kB / 1.165 GB, free: 2.844 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001274/1.13, allocations: 283.5 kB / 1.165 GB, free: 2.566 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.133, allocations: 1.516 MB / 1.167 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003395/1.136, allocations: 398.9 kB / 1.167 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/1.136, allocations: 63.97 kB / 1.167 GB, free: 0.5469 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.001441/1.138, allocations: 457.5 kB / 1.168 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009289/1.139, allocations: 253 kB / 1.168 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003827/1.143, allocations: 1.497 MB / 1.169 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/1.143, allocations: 15.98 kB / 1.17 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/1.143, allocations: 12 kB / 1.17 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.143, allocations: 3.984 kB / 1.17 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007878/1.15, allocations: 3.616 MB / 1.173 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.151, allocations: 4 kB / 1.173 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/1.151, allocations: 119.8 kB / 1.173 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001674/1.153, allocations: 489.2 kB / 1.174 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.338e-05/1.153, allocations: 23.98 kB / 1.174 GB, free: 9.934 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002638/1.156, allocations: 1.59 MB / 1.175 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.156, allocations: 12 kB / 1.175 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006474/1.162, allocations: 1.939 MB / 1.177 GB, free: 6.273 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001858/1.164, allocations: 493.6 kB / 1.178 GB, free: 5.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008803/1.165, allocations: 16 kB / 1.178 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002373/1.167, allocations: 147.8 kB / 1.178 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.167, allocations: 59.81 kB / 1.178 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/1.168, allocations: 43.95 kB / 1.178 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004663/1.172, allocations: 1.785 MB / 1.18 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.81e-07/1.172, allocations: 0 / 1.18 GB, free: 3.719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002903/1.175, allocations: 0.6944 MB / 1.18 GB, free: 3.023 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.001422/1.177, allocations: 0.6151 MB / 1.181 GB, free: 2.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004584/1.181, allocations: 1.4 MB / 1.182 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.181, allocations: 192 / 1.182 GB, free: 1.012 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002332/1.184, allocations: 0.67 MB / 1.183 GB, free: 352 kB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007583/1.191, allocations: 1.331 MB / 1.184 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00765/1.199, allocations: 3.608 MB / 1.188 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/1.2, allocations: 1.493 MB / 1.189 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002484/1.203, allocations: 436 kB / 1.19 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006269/1.203, allocations: 171.4 kB / 1.19 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of SimCode: time 1.052e-06/1.203, allocations: 0 / 1.19 GB, free: 9.242 MB / 0.9512 GB Notification: Performance of Templates: time 0.09303/1.296, allocations: 51.21 MB / 1.24 GB, free: 6.703 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