Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001622/0.001622, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.00186/0.00186, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.248/3.248, allocations: 0.49 GB / 0.7958 GB, free: 33.18 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002028/0.002028, allocations: 70.7 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4029, allocations: 176.1 MB / 1.327 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1491/0.552, allocations: 135.2 MB / 1.459 GB, free: 9.746 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03658/0.5886, allocations: 23.36 MB / 1.482 GB, free: 2.328 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00696/0.5956, allocations: 170.5 kB / 1.482 GB, free: 2.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005497/0.6011, allocations: 1.553 MB / 1.484 GB, free: 0.5977 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.6153, allocations: 4.385 MB / 1.488 GB, free: 12.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.006682/0.622, allocations: 2.251 MB / 1.49 GB, free: 9.961 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01244/0.6344, allocations: 6.592 MB / 1.497 GB, free: 3.352 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004202/0.6386, allocations: 1.856 MB / 1.498 GB, free: 1.434 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009146/0.6478, allocations: 3.147 MB / 1.501 GB, free: 14.29 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004775/0.6526, allocations: 1.937 MB / 1.503 GB, free: 12.34 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000893/0.6535, allocations: 251.9 kB / 1.504 GB, free: 12.09 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00609/0.6595, allocations: 2.059 MB / 1.506 GB, free: 10.03 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001011/0.6606, allocations: 0.6301 MB / 1.506 GB, free: 9.398 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.6634, allocations: 1.462 MB / 1.508 GB, free: 7.93 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.6736, allocations: 4.469 MB / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6736, allocations: 0 / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.745e-06/0.6736, allocations: 0 / 1.512 GB, free: 3.445 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.724e-05/0.6737, allocations: 0 / 1.512 GB, free: 3.445 MB / 1.201 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.007436/0.6811, allocations: 3.21 MB / 1.515 GB, free: 168 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.6811, allocations: 8.031 kB / 1.515 GB, free: 160 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004512/0.6857, allocations: 0.8535 MB / 1.516 GB, free: 15.3 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005678/0.6913, allocations: 2.285 MB / 1.518 GB, free: 12.93 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.6915, allocations: 127 kB / 1.518 GB, free: 12.8 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/0.6917, allocations: 164 kB / 1.519 GB, free: 12.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/0.696, allocations: 1.925 MB / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.6961, allocations: 3.938 kB / 1.52 GB, free: 10.65 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.6962, allocations: 64 kB / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.866e-05/0.6963, allocations: 36 kB / 1.521 GB, free: 10.55 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004632/0.7009, allocations: 1.807 MB / 1.522 GB, free: 8.746 MB / 1.217 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.01509/0.716, allocations: 8.87 MB / 1.531 GB, free: 15.29 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/0.7202, allocations: 1.155 MB / 1.532 GB, free: 14.11 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.7213, allocations: 433.4 kB / 1.532 GB, free: 13.68 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005183/0.7218, allocations: 156.7 kB / 1.533 GB, free: 13.53 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.7219, allocations: 50.48 kB / 1.533 GB, free: 13.47 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.217e-06/0.7219, allocations: 0 / 1.533 GB, free: 13.47 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.008702/0.7306, allocations: 2.19 MB / 1.535 GB, free: 11.27 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.7307, allocations: 89.11 kB / 1.535 GB, free: 11.16 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004584/0.7352, allocations: 2.537 MB / 1.537 GB, free: 8.605 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.7354, allocations: 49.7 kB / 1.537 GB, free: 8.551 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/0.7365, allocations: 1.055 MB / 1.538 GB, free: 7.488 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004027/0.7369, allocations: 273.6 kB / 1.539 GB, free: 7.219 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005056/0.7374, allocations: 262.7 kB / 1.539 GB, free: 6.957 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.7377, allocations: 345.9 kB / 1.539 GB, free: 6.613 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.7393, allocations: 0.5686 MB / 1.54 GB, free: 6.043 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002189/0.7415, allocations: 0.966 MB / 1.541 GB, free: 4.926 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003056/0.7446, allocations: 1.248 MB / 1.542 GB, free: 3.57 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.7446, allocations: 4 kB / 1.542 GB, free: 3.566 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006929/0.7515, allocations: 2.033 MB / 1.544 GB, free: 1.52 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.7516, allocations: 9.562 kB / 1.544 GB, free: 1.512 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7516, allocations: 11.98 kB / 1.544 GB, free: 1.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.7535, allocations: 493.7 kB / 1.544 GB, free: 1.012 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.7547, allocations: 283.5 kB / 1.545 GB, free: 0.7344 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.7569, allocations: 1.518 MB / 1.546 GB, free: 15.16 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.7599, allocations: 366.5 kB / 1.547 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.76, allocations: 59.95 kB / 1.547 GB, free: 14.74 MB / 1.248 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.001068/0.7611, allocations: 465.5 kB / 1.547 GB, free: 14.28 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.7617, allocations: 262.3 kB / 1.547 GB, free: 14.02 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.7654, allocations: 1.509 MB / 1.549 GB, free: 12.49 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.7654, allocations: 15.98 kB / 1.549 GB, free: 12.48 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.7654, allocations: 4 kB / 1.549 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.7654, allocations: 3.984 kB / 1.549 GB, free: 12.47 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008001/0.7734, allocations: 3.603 MB / 1.552 GB, free: 8.762 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.7735, allocations: 4.094 kB / 1.552 GB, free: 8.758 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006136/0.7741, allocations: 136.1 kB / 1.552 GB, free: 8.625 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001738/0.7758, allocations: 489 kB / 1.553 GB, free: 8.141 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.34e-05/0.7759, allocations: 31.97 kB / 1.553 GB, free: 8.109 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.7786, allocations: 1.578 MB / 1.555 GB, free: 6.48 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.7786, allocations: 7.938 kB / 1.555 GB, free: 6.473 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006671/0.7852, allocations: 1.958 MB / 1.556 GB, free: 4.449 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00191/0.7872, allocations: 423.8 kB / 1.557 GB, free: 4.031 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003857/0.7875, allocations: 27.88 kB / 1.557 GB, free: 4.004 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001655/0.7892, allocations: 135.8 kB / 1.557 GB, free: 3.871 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.7893, allocations: 63.83 kB / 1.557 GB, free: 3.809 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.7894, allocations: 35.97 kB / 1.557 GB, free: 3.773 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003554/0.793, allocations: 1.785 MB / 1.559 GB, free: 1.984 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.3e-07/0.793, allocations: 4 kB / 1.559 GB, free: 1.98 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002481/0.7955, allocations: 0.7018 MB / 1.56 GB, free: 1.277 MB / 1.248 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.001365/0.7968, allocations: 0.5928 MB / 1.56 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004229/0.8011, allocations: 1.311 MB / 1.561 GB, free: 15.37 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.8011, allocations: 4 kB / 1.561 GB, free: 15.36 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002264/0.8033, allocations: 0.6544 MB / 1.562 GB, free: 14.71 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006618/0.81, allocations: 1.336 MB / 1.563 GB, free: 13.39 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007579/0.8175, allocations: 3.671 MB / 1.567 GB, free: 9.645 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001246/0.8188, allocations: 1.49 MB / 1.568 GB, free: 8.121 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008369/0.8196, allocations: 183.4 kB / 1.569 GB, free: 7.941 MB / 1.264 GB Notification: Performance of SimCode: time 1.122e-06/0.8196, allocations: 0 / 1.569 GB, free: 7.941 MB / 1.264 GB Notification: Performance of Templates: time 0.8562/1.676, allocations: 63.08 MB / 1.63 GB, free: 266.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 20.960447331977775]