Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 109.1 kB / 18.99 MB, free: 2.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002744/0.002744, allocations: 214.9 kB / 22.3 MB, free: 5.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 256.1 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.489/3.489, allocations: 0.5107 GB / 0.8159 GB, free: 17.74 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002241, allocations: 71.25 kB / 1.186 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5171/0.5193, allocations: 181.9 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1512/0.6706, allocations: 121.9 MB / 1.483 GB, free: 3.191 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.04175/0.7123, allocations: 21.61 MB / 1.504 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007446/0.7198, allocations: 170.5 kB / 1.504 GB, free: 13.37 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006826/0.7266, allocations: 1.494 MB / 1.506 GB, free: 11.86 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01828/0.7449, allocations: 4.349 MB / 1.51 GB, free: 7.496 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008333/0.7532, allocations: 2.195 MB / 1.512 GB, free: 5.32 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0147/0.7679, allocations: 6.571 MB / 1.519 GB, free: 14.73 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004768/0.7727, allocations: 1.813 MB / 1.52 GB, free: 12.86 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01111/0.7838, allocations: 3.179 MB / 1.523 GB, free: 9.676 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005346/0.7891, allocations: 1.833 MB / 1.525 GB, free: 7.836 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001129/0.7903, allocations: 248 kB / 1.525 GB, free: 7.594 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006488/0.7967, allocations: 1.583 MB / 1.527 GB, free: 6.008 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/0.7982, allocations: 0.6185 MB / 1.528 GB, free: 5.387 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.003264/0.8014, allocations: 1.163 MB / 1.529 GB, free: 4.219 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01118/0.8126, allocations: 4.391 MB / 1.533 GB, free: 15.81 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.8126, allocations: 7.984 kB / 1.533 GB, free: 15.8 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.594e-06/0.8126, allocations: 0 / 1.533 GB, free: 15.8 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001099/0.8127, allocations: 4 kB / 1.533 GB, free: 15.8 MB / 1.232 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.008199/0.8209, allocations: 3.195 MB / 1.536 GB, free: 12.54 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.821, allocations: 12.03 kB / 1.536 GB, free: 12.52 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.8258, allocations: 0.8607 MB / 1.537 GB, free: 11.66 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005803/0.8316, allocations: 2.288 MB / 1.539 GB, free: 9.285 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.8318, allocations: 123 kB / 1.539 GB, free: 9.164 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/0.8321, allocations: 167.9 kB / 1.54 GB, free: 9 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.837, allocations: 1.994 MB / 1.541 GB, free: 6.922 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.837, allocations: 11.94 kB / 1.541 GB, free: 6.91 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.8372, allocations: 60 kB / 1.542 GB, free: 6.852 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-05/0.8372, allocations: 43.94 kB / 1.542 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004972/0.8422, allocations: 1.792 MB / 1.543 GB, free: 5.016 MB / 1.232 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.01437/0.8565, allocations: 6.159 MB / 1.549 GB, free: 14.71 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.8611, allocations: 1.141 MB / 1.55 GB, free: 13.56 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.8623, allocations: 437.4 kB / 1.551 GB, free: 13.12 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005472/0.8629, allocations: 147.9 kB / 1.551 GB, free: 12.98 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/0.8629, allocations: 42.56 kB / 1.551 GB, free: 12.93 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/0.8629, allocations: 0 / 1.551 GB, free: 12.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009351/0.8723, allocations: 2.145 MB / 1.553 GB, free: 10.77 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.8724, allocations: 85.11 kB / 1.553 GB, free: 10.67 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.8764, allocations: 2 MB / 1.555 GB, free: 8.633 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000214/0.8766, allocations: 45.7 kB / 1.555 GB, free: 8.582 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.8778, allocations: 1.099 MB / 1.556 GB, free: 7.473 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.8782, allocations: 281.6 kB / 1.557 GB, free: 7.195 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/0.8787, allocations: 254.7 kB / 1.557 GB, free: 6.941 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.8789, allocations: 349.9 kB / 1.557 GB, free: 6.594 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.8808, allocations: 0.5724 MB / 1.558 GB, free: 6.02 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/0.8835, allocations: 1.615 MB / 1.559 GB, free: 4.094 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/0.8868, allocations: 1.253 MB / 1.561 GB, free: 2.734 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8868, allocations: 4 kB / 1.561 GB, free: 2.73 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007155/0.8939, allocations: 1.984 MB / 1.562 GB, free: 0.7305 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/0.894, allocations: 9.719 kB / 1.562 GB, free: 0.7227 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.894, allocations: 8 kB / 1.562 GB, free: 0.7148 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002043/0.896, allocations: 491.8 kB / 1.563 GB, free: 236 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/0.8973, allocations: 279.5 kB / 1.563 GB, free: 15.96 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002477/0.8998, allocations: 1.522 MB / 1.565 GB, free: 14.38 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/0.9026, allocations: 295.1 kB / 1.565 GB, free: 14.09 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.9028, allocations: 55.97 kB / 1.565 GB, free: 14.04 MB / 1.264 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.001263/0.904, allocations: 462.9 kB / 1.565 GB, free: 13.58 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005774/0.9046, allocations: 206.6 kB / 1.566 GB, free: 13.38 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004066/0.9087, allocations: 1.496 MB / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.9087, allocations: 8 kB / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.9087, allocations: 0 / 1.567 GB, free: 11.86 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.9087, allocations: 3.984 kB / 1.567 GB, free: 11.85 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008344/0.9171, allocations: 3.164 MB / 1.57 GB, free: 8.602 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.9171, allocations: 4 kB / 1.57 GB, free: 8.598 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.9177, allocations: 132.1 kB / 1.57 GB, free: 8.469 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001988/0.9197, allocations: 497 kB / 1.571 GB, free: 7.977 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.9198, allocations: 27.98 kB / 1.571 GB, free: 7.949 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.9227, allocations: 1.587 MB / 1.572 GB, free: 6.312 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.169e-05/0.9227, allocations: 11.88 kB / 1.572 GB, free: 6.301 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007065/0.9298, allocations: 1.899 MB / 1.574 GB, free: 4.336 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001537/0.9313, allocations: 368.2 kB / 1.575 GB, free: 3.973 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006387/0.932, allocations: 23.94 kB / 1.575 GB, free: 3.949 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.9339, allocations: 127.8 kB / 1.575 GB, free: 3.824 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.934, allocations: 51.84 kB / 1.575 GB, free: 3.773 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.9341, allocations: 47.95 kB / 1.575 GB, free: 3.727 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002876/0.937, allocations: 1.396 MB / 1.576 GB, free: 2.312 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.937, allocations: 0 / 1.576 GB, free: 2.312 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003142/0.9402, allocations: 0.7404 MB / 1.577 GB, free: 1.57 MB / 1.264 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.001276/0.9414, allocations: 0.6088 MB / 1.578 GB, free: 0.9531 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004555/0.946, allocations: 1.307 MB / 1.579 GB, free: 15.65 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.946, allocations: 192 / 1.579 GB, free: 15.65 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002544/0.9485, allocations: 0.6584 MB / 1.579 GB, free: 14.99 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004565/0.9531, allocations: 0.8647 MB / 1.58 GB, free: 14.14 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007867/0.961, allocations: 3.561 MB / 1.584 GB, free: 10.5 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.9621, allocations: 0.9194 MB / 1.585 GB, free: 9.547 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001638/0.9638, allocations: 358.6 kB / 1.585 GB, free: 9.195 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003844/0.9642, allocations: 144.5 kB / 1.585 GB, free: 9.055 MB / 1.279 GB Notification: Performance of SimCode: time 1.713e-06/0.9642, allocations: 0 / 1.585 GB, free: 9.055 MB / 1.279 GB Notification: Performance of Templates: time 1.075/2.039, allocations: 41.15 MB / 1.625 GB, free: 232.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.20050829090178]