Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001414/0.001414, allocations: 103 kB / 16.27 MB, free: 6.414 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.001316/0.001317, allocations: 189.2 kB / 17.2 MB, free: 5.953 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.423/1.423, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437.1 MB / 0.7111 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.8 kB / 0.8699 GB, free: 2.176 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3135, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6282/0.9418, allocations: 132.3 MB / 1.147 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.03911/0.9809, allocations: 23.21 MB / 1.17 GB, free: 8.918 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006433/0.9874, allocations: 124.8 kB / 1.17 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.005474/0.9929, allocations: 1.497 MB / 1.171 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01485/1.008, allocations: 4.101 MB / 1.175 GB, free: 4.535 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.008648/1.017, allocations: 2.148 MB / 1.178 GB, free: 2.863 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01253/1.029, allocations: 6.526 MB / 1.184 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004818/1.034, allocations: 2.353 MB / 1.186 GB, free: 13.51 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008374/1.042, allocations: 2.755 MB / 1.189 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004772/1.047, allocations: 1.876 MB / 1.191 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0009677/1.048, allocations: 249.7 kB / 1.191 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006821/1.055, allocations: 1.931 MB / 1.193 GB, free: 9.664 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/1.056, allocations: 0.6041 MB / 1.193 GB, free: 9.16 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003072/1.059, allocations: 1.456 MB / 1.195 GB, free: 8.18 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.009853/1.069, allocations: 4.317 MB / 1.199 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.009e-05/1.069, allocations: 0 / 1.199 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.264e-06/1.069, allocations: 2.969 kB / 1.199 GB, free: 5.277 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001387/1.07, allocations: 0 / 1.199 GB, free: 5.277 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.008246/1.078, allocations: 3.188 MB / 1.202 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/1.078, allocations: 16.92 kB / 1.202 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004858/1.083, allocations: 0.8327 MB / 1.203 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005216/1.088, allocations: 2.202 MB / 1.205 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001134/1.089, allocations: 298.8 kB / 1.205 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004138/1.09, allocations: 160 kB / 1.206 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004912/1.094, allocations: 1.938 MB / 1.207 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/1.095, allocations: 0 / 1.207 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001696/1.095, allocations: 64 kB / 1.208 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.473e-05/1.095, allocations: 36 kB / 1.208 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005381/1.1, allocations: 1.835 MB / 1.209 GB, free: 10.77 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.01714/1.117, allocations: 9.067 MB / 1.218 GB, free: 1.102 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004636/1.122, allocations: 1.215 MB / 1.219 GB, free: 15.87 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/1.123, allocations: 467 kB / 1.22 GB, free: 15.41 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001514/1.125, allocations: 1.722 MB / 1.222 GB, free: 13.3 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.125, allocations: 42.56 kB / 1.222 GB, free: 13.25 MB / 0.92 GB Notification: Performance of pre-optimization done (n=76): time 2.614e-06/1.125, allocations: 3.938 kB / 1.222 GB, free: 13.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=76): time 0.009346/1.134, allocations: 2.341 MB / 1.224 GB, free: 10.85 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/1.134, allocations: 81.11 kB / 1.224 GB, free: 10.75 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004856/1.139, allocations: 2.544 MB / 1.226 GB, free: 8.188 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002318/1.14, allocations: 45.7 kB / 1.226 GB, free: 8.137 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.141, allocations: 1.041 MB / 1.227 GB, free: 7.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003781/1.141, allocations: 280.1 kB / 1.228 GB, free: 6.809 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004728/1.142, allocations: 254.6 kB / 1.228 GB, free: 6.551 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.142, allocations: 345.9 kB / 1.228 GB, free: 6.207 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00196/1.144, allocations: 0.5881 MB / 1.229 GB, free: 5.621 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002436/1.146, allocations: 0.9724 MB / 1.23 GB, free: 4.496 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003455/1.15, allocations: 1.268 MB / 1.231 GB, free: 3.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.15, allocations: 3.938 kB / 1.231 GB, free: 3.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007469/1.157, allocations: 2.047 MB / 1.233 GB, free: 1.059 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/1.157, allocations: 16.61 kB / 1.233 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/1.157, allocations: 8 kB / 1.233 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/1.159, allocations: 497 kB / 1.234 GB, free: 0.5469 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/1.161, allocations: 283.6 kB / 1.234 GB, free: 276 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/1.163, allocations: 1.518 MB / 1.235 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.167, allocations: 395.8 kB / 1.236 GB, free: 14.31 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002179/1.167, allocations: 59.95 kB / 1.236 GB, free: 14.25 MB / 0.9356 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.00103/1.168, allocations: 461.5 kB / 1.236 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/1.168, allocations: 248.8 kB / 1.236 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/1.173, allocations: 1.5 MB / 1.238 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.237e-05/1.173, allocations: 8 kB / 1.238 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.197e-06/1.173, allocations: 3.984 kB / 1.238 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/1.173, allocations: 3.984 kB / 1.238 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008903/1.182, allocations: 3.63 MB / 1.241 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/1.182, allocations: 3.938 kB / 1.241 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006403/1.182, allocations: 132.2 kB / 1.242 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001802/1.184, allocations: 495.3 kB / 1.242 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.697e-05/1.184, allocations: 27.98 kB / 1.242 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002884/1.187, allocations: 1.581 MB / 1.244 GB, free: 5.984 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.187, allocations: 4 kB / 1.244 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006705/1.194, allocations: 1.931 MB / 1.246 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001391/1.195, allocations: 497.5 kB / 1.246 GB, free: 3.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004573/1.196, allocations: 27.83 kB / 1.246 GB, free: 3.453 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/1.198, allocations: 143.8 kB / 1.246 GB, free: 3.312 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.198, allocations: 51.92 kB / 1.246 GB, free: 3.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.198, allocations: 47.91 kB / 1.246 GB, free: 3.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003436/1.201, allocations: 1.793 MB / 1.248 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of sort global known variables: time 4.41e-07/1.201, allocations: 0 / 1.248 GB, free: 1.418 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002523/1.204, allocations: 0.6867 MB / 1.249 GB, free: 0.7305 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.001363/1.205, allocations: 0.6228 MB / 1.249 GB, free: 116 kB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004779/1.21, allocations: 1.397 MB / 1.251 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/1.21, allocations: 4 kB / 1.251 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.002586/1.213, allocations: 0.6746 MB / 1.251 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006754/1.219, allocations: 1.332 MB / 1.253 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007235/1.227, allocations: 3.654 MB / 1.256 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/1.228, allocations: 1.478 MB / 1.258 GB, free: 7.5 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/1.229, allocations: 187.4 kB / 1.258 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of SimCode: time 7.62e-07/1.229, allocations: 0 / 1.258 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of Templates: time 0.08953/1.318, allocations: 62.53 MB / 1.319 GB, free: 9.098 MB / 1.014 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches