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.0009518/0.0009518, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007407/0.007407, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.515/2.515, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003703/0.0003703, allocations: 8 kB / 0.816 GB, free: 13.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8568/0.8571, allocations: 142.4 MB / 0.955 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.133/0.9902, allocations: 129.4 MB / 1.081 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03816/1.028, allocations: 23.07 MB / 1.104 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006472/1.035, allocations: 111.2 kB / 1.104 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005236/1.04, allocations: 1.2 MB / 1.105 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01454/1.055, allocations: 3.779 MB / 1.109 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007617/1.062, allocations: 1.976 MB / 1.111 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01435/1.077, allocations: 8.283 MB / 1.119 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004464/1.081, allocations: 1.907 MB / 1.121 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008152/1.089, allocations: 2.298 MB / 1.123 GB, free: 2.75 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00489/1.094, allocations: 1.8 MB / 1.125 GB, free: 0.9414 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0008174/1.095, allocations: 88 kB / 1.125 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006008/1.101, allocations: 1.715 MB / 1.127 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0009192/1.102, allocations: 449.6 kB / 1.127 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003003/1.105, allocations: 1.296 MB / 1.128 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008657/1.114, allocations: 4.139 MB / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/1.114, allocations: 0 / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of FrontEnd: time 3.226e-06/1.114, allocations: 0 / 1.132 GB, free: 9.234 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.000125/1.114, allocations: 4 kB / 1.132 GB, free: 9.23 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.006311/1.12, allocations: 2.678 MB / 1.135 GB, free: 6.469 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/1.121, allocations: 8.031 kB / 1.135 GB, free: 6.461 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00495/1.126, allocations: 0.9608 MB / 1.136 GB, free: 5.496 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005129/1.131, allocations: 2.258 MB / 1.138 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001049/1.132, allocations: 326.8 kB / 1.138 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/1.132, allocations: 156 kB / 1.138 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/1.137, allocations: 1.985 MB / 1.14 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/1.137, allocations: 7.938 kB / 1.14 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.137, allocations: 67.94 kB / 1.141 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/1.137, allocations: 40 kB / 1.141 GB, free: 0.5273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005376/1.142, allocations: 1.909 MB / 1.142 GB, free: 14.62 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.01612/1.158, allocations: 9.106 MB / 1.151 GB, free: 4.914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00449/1.163, allocations: 1.296 MB / 1.153 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.164, allocations: 485.4 kB / 1.153 GB, free: 3.121 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001279/1.165, allocations: 1.723 MB / 1.155 GB, free: 1.012 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.165, allocations: 42.56 kB / 1.155 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.086e-06/1.165, allocations: 0 / 1.155 GB, free: 0.9609 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009597/1.175, allocations: 2.527 MB / 1.157 GB, free: 14.38 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/1.175, allocations: 85.11 kB / 1.157 GB, free: 14.28 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/1.18, allocations: 2.54 MB / 1.16 GB, free: 11.72 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.18, allocations: 45.7 kB / 1.16 GB, free: 11.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009519/1.181, allocations: 1.045 MB / 1.161 GB, free: 10.61 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/1.181, allocations: 272.2 kB / 1.161 GB, free: 10.34 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/1.181, allocations: 85.67 kB / 1.161 GB, free: 10.25 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001631/1.181, allocations: 353.9 kB / 1.162 GB, free: 9.902 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.183, allocations: 0.6349 MB / 1.162 GB, free: 9.266 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/1.185, allocations: 1.009 MB / 1.163 GB, free: 8.105 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/1.189, allocations: 1.33 MB / 1.164 GB, free: 6.676 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/1.189, allocations: 4 kB / 1.164 GB, free: 6.672 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007132/1.196, allocations: 2.192 MB / 1.167 GB, free: 4.461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/1.196, allocations: 9.625 kB / 1.167 GB, free: 4.453 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/1.196, allocations: 12 kB / 1.167 GB, free: 4.441 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/1.198, allocations: 0.4933 MB / 1.167 GB, free: 3.941 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.199, allocations: 311.5 kB / 1.167 GB, free: 3.637 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/1.201, allocations: 1.563 MB / 1.169 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003557/1.205, allocations: 477.9 kB / 1.169 GB, free: 1.555 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/1.205, allocations: 59.97 kB / 1.169 GB, free: 1.496 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.206, allocations: 463.5 kB / 1.17 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005992/1.207, allocations: 260.8 kB / 1.17 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/1.211, allocations: 1.543 MB / 1.172 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.211, allocations: 11.98 kB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/1.211, allocations: 4.094 kB / 1.172 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.499e-05/1.211, allocations: 11.92 kB / 1.172 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008542/1.219, allocations: 3.717 MB / 1.175 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/1.22, allocations: 4 kB / 1.175 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006174/1.22, allocations: 132.2 kB / 1.175 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/1.222, allocations: 0.4932 MB / 1.176 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/1.222, allocations: 27.98 kB / 1.176 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/1.225, allocations: 1.645 MB / 1.178 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.225, allocations: 7.938 kB / 1.178 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006719/1.232, allocations: 2.084 MB / 1.18 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001761/1.233, allocations: 0.5092 MB / 1.18 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003594/1.234, allocations: 23.94 kB / 1.18 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.236, allocations: 191.7 kB / 1.18 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/1.236, allocations: 67.8 kB / 1.18 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.951e-05/1.236, allocations: 43.97 kB / 1.18 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003352/1.239, allocations: 1.785 MB / 1.182 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.7e-07/1.239, allocations: 0 / 1.182 GB, free: 4.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002701/1.242, allocations: 0.6827 MB / 1.183 GB, free: 3.52 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.001462/1.243, allocations: 0.6085 MB / 1.183 GB, free: 2.906 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004482/1.248, allocations: 1.436 MB / 1.185 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/1.248, allocations: 0 / 1.185 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002551/1.251, allocations: 0.7288 MB / 1.185 GB, free: 0.7422 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008528/1.259, allocations: 1.319 MB / 1.187 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007787/1.267, allocations: 4.345 MB / 1.191 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/1.269, allocations: 1.494 MB / 1.192 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003129/1.272, allocations: 443.8 kB / 1.193 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005911/1.272, allocations: 183.4 kB / 1.193 GB, free: 8.895 MB / 0.9512 GB Notification: Performance of SimCode: time 2.063e-06/1.272, allocations: 4 kB / 1.193 GB, free: 8.891 MB / 0.9512 GB Notification: Performance of Templates: time 0.09865/1.371, allocations: 51.03 MB / 1.243 GB, free: 6.488 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