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.001406/0.001406, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001509/0.00151, allocations: 193.3 kB / 16.13 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.563/1.563, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.557/2.557, allocations: 390.2 MB / 0.6642 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.89 kB / 0.8119 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7643, allocations: 140.4 MB / 0.9489 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.128/0.8923, allocations: 131.4 MB / 1.077 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03474/0.9271, allocations: 23.32 MB / 1.1 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005171/0.9323, allocations: 115.2 kB / 1.1 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005227/0.9376, allocations: 1.208 MB / 1.101 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01367/0.9513, allocations: 3.783 MB / 1.105 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006269/0.9576, allocations: 1.951 MB / 1.107 GB, free: 12 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01125/0.9689, allocations: 8.288 MB / 1.115 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004298/0.9732, allocations: 1.968 MB / 1.117 GB, free: 5.672 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006157/0.9794, allocations: 2.36 MB / 1.119 GB, free: 3.301 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004411/0.9838, allocations: 1.878 MB / 1.121 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.000956/0.9848, allocations: 120 kB / 1.121 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005918/0.9908, allocations: 1.734 MB / 1.123 GB, free: 15.56 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001234/0.992, allocations: 0.4898 MB / 1.123 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003418/0.9955, allocations: 1.325 MB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008617/1.004, allocations: 4.234 MB / 1.129 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/1.004, allocations: 3.984 kB / 1.129 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.854e-06/1.004, allocations: 0 / 1.129 GB, free: 9.484 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001262/1.004, allocations: 0 / 1.129 GB, free: 9.484 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.007666/1.012, allocations: 3.184 MB / 1.132 GB, free: 6.215 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/1.012, allocations: 8.031 kB / 1.132 GB, free: 6.207 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/1.016, allocations: 0.8436 MB / 1.133 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004271/1.021, allocations: 2.26 MB / 1.135 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00095/1.022, allocations: 290.8 kB / 1.135 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/1.022, allocations: 163.9 kB / 1.135 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004819/1.027, allocations: 1.934 MB / 1.137 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.107e-05/1.027, allocations: 3.938 kB / 1.137 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.027, allocations: 67.94 kB / 1.137 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.959e-05/1.027, allocations: 36 kB / 1.137 GB, free: 488 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004912/1.032, allocations: 1.827 MB / 1.139 GB, free: 14.65 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.01436/1.046, allocations: 9.031 MB / 1.148 GB, free: 5.016 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004451/1.051, allocations: 1.205 MB / 1.149 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.052, allocations: 462.2 kB / 1.15 GB, free: 3.336 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001527/1.054, allocations: 1.726 MB / 1.151 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.865e-05/1.054, allocations: 38.56 kB / 1.151 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 4.038e-06/1.054, allocations: 0 / 1.151 GB, free: 1.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.009262/1.063, allocations: 2.343 MB / 1.154 GB, free: 14.78 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/1.063, allocations: 85.11 kB / 1.154 GB, free: 14.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006279/1.069, allocations: 2.509 MB / 1.156 GB, free: 12.15 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002279/1.07, allocations: 49.7 kB / 1.156 GB, free: 12.09 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/1.071, allocations: 1.049 MB / 1.157 GB, free: 11.04 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004189/1.071, allocations: 268.1 kB / 1.157 GB, free: 10.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006482/1.072, allocations: 262.5 kB / 1.158 GB, free: 10.51 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001413/1.072, allocations: 345.9 kB / 1.158 GB, free: 10.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/1.074, allocations: 0.5881 MB / 1.159 GB, free: 9.574 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/1.076, allocations: 0.9737 MB / 1.16 GB, free: 8.449 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003028/1.079, allocations: 1.26 MB / 1.161 GB, free: 7.086 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.044e-05/1.079, allocations: 4 kB / 1.161 GB, free: 7.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007081/1.086, allocations: 2.047 MB / 1.163 GB, free: 5.02 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/1.086, allocations: 8 kB / 1.163 GB, free: 5.012 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.046e-05/1.086, allocations: 8 kB / 1.163 GB, free: 5.004 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001949/1.088, allocations: 0.4909 MB / 1.163 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.09, allocations: 283.6 kB / 1.164 GB, free: 4.23 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.092, allocations: 1.528 MB / 1.165 GB, free: 2.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/1.095, allocations: 435.8 kB / 1.165 GB, free: 2.227 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/1.095, allocations: 59.97 kB / 1.166 GB, free: 2.168 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.00124/1.096, allocations: 465.5 kB / 1.166 GB, free: 1.703 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000787/1.097, allocations: 252.8 kB / 1.166 GB, free: 1.453 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003875/1.101, allocations: 1.501 MB / 1.168 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/1.101, allocations: 8 kB / 1.168 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/1.101, allocations: 8 kB / 1.168 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/1.101, allocations: 3.984 kB / 1.168 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008419/1.11, allocations: 3.608 MB / 1.171 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/1.11, allocations: 4 kB / 1.171 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.11, allocations: 123.8 kB / 1.171 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.112, allocations: 0.4908 MB / 1.172 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.573e-05/1.112, allocations: 19.98 kB / 1.172 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002782/1.115, allocations: 1.594 MB / 1.173 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/1.115, allocations: 4 kB / 1.173 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/1.122, allocations: 1.935 MB / 1.175 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.123, allocations: 489.5 kB / 1.176 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007486/1.124, allocations: 20 kB / 1.176 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.127, allocations: 179.7 kB / 1.176 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/1.127, allocations: 59.8 kB / 1.176 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001913/1.127, allocations: 39.97 kB / 1.176 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.004239/1.131, allocations: 1.773 MB / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/1.131, allocations: 0 / 1.178 GB, free: 5.332 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.003781/1.135, allocations: 0.675 MB / 1.178 GB, free: 4.656 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.002236/1.137, allocations: 0.6006 MB / 1.179 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006826/1.144, allocations: 1.353 MB / 1.18 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.612e-05/1.144, allocations: 4 kB / 1.18 GB, free: 2.695 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.003773/1.148, allocations: 0.6703 MB / 1.181 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01161/1.16, allocations: 1.249 MB / 1.182 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/1.17, allocations: 4.315 MB / 1.186 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/1.171, allocations: 1.49 MB / 1.188 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002901/1.174, allocations: 435.9 kB / 1.188 GB, free: 10.46 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000786/1.175, allocations: 167.4 kB / 1.188 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/1.175, allocations: 0 / 1.188 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of Templates: time 0.1273/1.303, allocations: 48.66 MB / 1.236 GB, free: 10.26 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