Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.001655/0.001655, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002091/0.002091, allocations: 217.2 kB / 22.99 MB, free: 4.945 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.404/3.404, allocations: 0.4892 GB / 0.7951 GB, free: 35.61 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.CarnotVerifyCOP,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.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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.CarnotVerifyCOP") [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.002168/0.002168, allocations: 66.95 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1534/0.5402, allocations: 121.8 MB / 1.445 GB, free: 7.625 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03749/0.5777, allocations: 21.62 MB / 1.466 GB, free: 1.961 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005673/0.5834, allocations: 174.5 kB / 1.467 GB, free: 1.789 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.005333/0.5887, allocations: 1.483 MB / 1.468 GB, free: 304 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.6029, allocations: 4.339 MB / 1.472 GB, free: 11.94 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006543/0.6095, allocations: 2.199 MB / 1.474 GB, free: 9.758 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01298/0.6224, allocations: 6.554 MB / 1.481 GB, free: 3.188 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005275/0.6277, allocations: 1.813 MB / 1.483 GB, free: 1.312 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01003/0.6378, allocations: 3.177 MB / 1.486 GB, free: 14.13 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00433/0.6421, allocations: 1.804 MB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.6432, allocations: 244 kB / 1.488 GB, free: 12.08 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005468/0.6486, allocations: 1.587 MB / 1.489 GB, free: 10.49 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001414/0.65, allocations: 0.6184 MB / 1.49 GB, free: 9.871 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003174/0.6532, allocations: 1.155 MB / 1.491 GB, free: 8.711 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.00911/0.6623, allocations: 4.387 MB / 1.495 GB, free: 4.309 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6623, allocations: 0 / 1.495 GB, free: 4.309 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6623, allocations: 4 kB / 1.495 GB, free: 4.305 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001171/0.6625, allocations: 0 / 1.495 GB, free: 4.305 MB / 1.186 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.007256/0.6697, allocations: 3.183 MB / 1.498 GB, free: 1.051 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.6698, allocations: 12.03 kB / 1.498 GB, free: 1.039 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004863/0.6746, allocations: 0.8571 MB / 1.499 GB, free: 184 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/0.6814, allocations: 2.292 MB / 1.501 GB, free: 13.8 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.6816, allocations: 127 kB / 1.502 GB, free: 13.68 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/0.6819, allocations: 164 kB / 1.502 GB, free: 13.52 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004435/0.6863, allocations: 1.994 MB / 1.504 GB, free: 11.44 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.6864, allocations: 7.875 kB / 1.504 GB, free: 11.43 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.6865, allocations: 64 kB / 1.504 GB, free: 11.37 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-05/0.6866, allocations: 39.94 kB / 1.504 GB, free: 11.33 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004699/0.6913, allocations: 1.792 MB / 1.505 GB, free: 9.535 MB / 1.201 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.01267/0.7039, allocations: 6.139 MB / 1.511 GB, free: 3.254 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004329/0.7083, allocations: 1.142 MB / 1.513 GB, free: 2.094 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.7094, allocations: 437.4 kB / 1.513 GB, free: 1.66 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005134/0.7099, allocations: 151.9 kB / 1.513 GB, free: 1.512 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.7099, allocations: 42.56 kB / 1.513 GB, free: 1.461 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.226e-06/0.7099, allocations: 4 kB / 1.513 GB, free: 1.457 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.008726/0.7187, allocations: 2.129 MB / 1.515 GB, free: 15.31 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.7187, allocations: 85.11 kB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.723, allocations: 1.977 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.7232, allocations: 49.7 kB / 1.517 GB, free: 13.14 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.7243, allocations: 1.082 MB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003901/0.7247, allocations: 289.5 kB / 1.519 GB, free: 11.77 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005624/0.7253, allocations: 258.7 kB / 1.519 GB, free: 11.51 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.7255, allocations: 345.9 kB / 1.519 GB, free: 11.16 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.7272, allocations: 0.5725 MB / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.7299, allocations: 1.607 MB / 1.521 GB, free: 8.672 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.7331, allocations: 1.252 MB / 1.523 GB, free: 7.312 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.7331, allocations: 4 kB / 1.523 GB, free: 7.309 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006953/0.7401, allocations: 1.975 MB / 1.525 GB, free: 5.32 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.7401, allocations: 8 kB / 1.525 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.7401, allocations: 8 kB / 1.525 GB, free: 5.305 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001757/0.7419, allocations: 425.8 kB / 1.525 GB, free: 4.883 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/0.7431, allocations: 283.5 kB / 1.525 GB, free: 4.605 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/0.7455, allocations: 1.507 MB / 1.527 GB, free: 3.047 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.7481, allocations: 287.2 kB / 1.527 GB, free: 2.766 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.7483, allocations: 71.94 kB / 1.527 GB, free: 2.695 MB / 1.217 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001267/0.7496, allocations: 461.4 kB / 1.527 GB, free: 2.234 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007496/0.7504, allocations: 206.7 kB / 1.528 GB, free: 2.031 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004084/0.7544, allocations: 1.468 MB / 1.529 GB, free: 0.543 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.814e-05/0.7545, allocations: 15.98 kB / 1.529 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.7545, allocations: 0 / 1.529 GB, free: 0.5273 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.7545, allocations: 3.984 kB / 1.529 GB, free: 0.5234 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008891/0.7634, allocations: 3.159 MB / 1.532 GB, free: 13.28 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.587e-05/0.7634, allocations: 8.062 kB / 1.532 GB, free: 13.27 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006581/0.7641, allocations: 127.8 kB / 1.532 GB, free: 13.14 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.7658, allocations: 413.1 kB / 1.533 GB, free: 12.73 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.818e-05/0.7658, allocations: 31.92 kB / 1.533 GB, free: 12.7 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00294/0.7688, allocations: 1.572 MB / 1.534 GB, free: 11.08 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.7688, allocations: 11.88 kB / 1.534 GB, free: 11.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006697/0.7755, allocations: 1.889 MB / 1.536 GB, free: 9.121 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001349/0.7768, allocations: 368.3 kB / 1.537 GB, free: 8.758 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/0.7774, allocations: 19.94 kB / 1.537 GB, free: 8.738 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.7792, allocations: 135.8 kB / 1.537 GB, free: 8.605 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7794, allocations: 59.84 kB / 1.537 GB, free: 8.547 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7795, allocations: 43.95 kB / 1.537 GB, free: 8.504 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003324/0.7828, allocations: 1.372 MB / 1.538 GB, free: 7.113 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7828, allocations: 0 / 1.538 GB, free: 7.113 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002946/0.7857, allocations: 0.7403 MB / 1.539 GB, free: 6.371 MB / 1.232 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00147/0.7872, allocations: 0.5954 MB / 1.539 GB, free: 5.766 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004549/0.7918, allocations: 1.311 MB / 1.541 GB, free: 4.461 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.7918, allocations: 0 / 1.541 GB, free: 4.461 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/0.7942, allocations: 0.6522 MB / 1.541 GB, free: 3.809 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004875/0.7991, allocations: 0.8546 MB / 1.542 GB, free: 2.969 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008629/0.8077, allocations: 3.593 MB / 1.546 GB, free: 15.29 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.8092, allocations: 0.9116 MB / 1.547 GB, free: 14.34 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007734/0.81, allocations: 151.4 kB / 1.547 GB, free: 14.19 MB / 1.248 GB Notification: Performance of SimCode: time 1.613e-06/0.81, allocations: 0 / 1.547 GB, free: 14.19 MB / 1.248 GB Notification: Performance of Templates: time 0.08269/0.8927, allocations: 58.38 MB / 1.604 GB, free: 4.043 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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: 18.747970759868622]