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.001929/0.001929, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002587/0.002587, allocations: 218.7 kB / 22.26 MB, free: 5.074 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.676/1.676, allocations: 230.6 MB / 256 MB, free: 8.008 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.475/3.475, allocations: 0.49 GB / 0.7951 GB, free: 33.41 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.002089/0.002089, allocations: 71.58 kB / 1.154 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4998, allocations: 176.1 MB / 1.326 GB, free: 1.441 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1828/0.6825, allocations: 135.2 MB / 1.458 GB, free: 9.777 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04569/0.7282, allocations: 23.35 MB / 1.481 GB, free: 2.371 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007845/0.736, allocations: 170.5 kB / 1.481 GB, free: 2.203 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006666/0.7427, allocations: 1.549 MB / 1.483 GB, free: 0.6445 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01799/0.7607, allocations: 4.377 MB / 1.487 GB, free: 12.25 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00783/0.7685, allocations: 2.268 MB / 1.489 GB, free: 10 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0134/0.7819, allocations: 6.57 MB / 1.496 GB, free: 3.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005283/0.7872, allocations: 1.86 MB / 1.498 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.7981, allocations: 3.137 MB / 1.501 GB, free: 14.35 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00598/0.8041, allocations: 1.936 MB / 1.503 GB, free: 12.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.8055, allocations: 244 kB / 1.503 GB, free: 12.17 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008111/0.8136, allocations: 2.059 MB / 1.505 GB, free: 10.11 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001862/0.8155, allocations: 0.6184 MB / 1.505 GB, free: 9.484 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004318/0.8198, allocations: 1.454 MB / 1.507 GB, free: 8.023 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01399/0.8338, allocations: 4.465 MB / 1.511 GB, free: 3.543 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.8338, allocations: 4 kB / 1.511 GB, free: 3.539 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.916e-06/0.8338, allocations: 0 / 1.511 GB, free: 3.539 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0002269/0.834, allocations: 0 / 1.511 GB, free: 3.539 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.01181/0.8459, allocations: 3.179 MB / 1.514 GB, free: 296 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.8459, allocations: 15.97 kB / 1.514 GB, free: 280 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.851, allocations: 0.8532 MB / 1.515 GB, free: 15.41 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006382/0.8574, allocations: 2.289 MB / 1.517 GB, free: 13.04 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/0.8575, allocations: 135 kB / 1.517 GB, free: 12.91 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/0.8579, allocations: 160 kB / 1.518 GB, free: 12.75 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.8624, allocations: 1.923 MB / 1.52 GB, free: 10.77 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.8625, allocations: 0 / 1.52 GB, free: 10.77 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/0.8626, allocations: 63.98 kB / 1.52 GB, free: 10.7 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-05/0.8627, allocations: 43.94 kB / 1.52 GB, free: 10.66 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004874/0.8675, allocations: 1.788 MB / 1.521 GB, free: 8.871 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.01611/0.8836, allocations: 8.842 MB / 1.53 GB, free: 15.44 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004477/0.8881, allocations: 1.153 MB / 1.531 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001131/0.8893, allocations: 429.4 kB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005521/0.8898, allocations: 160.7 kB / 1.532 GB, free: 13.69 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.8899, allocations: 46.5 kB / 1.532 GB, free: 13.63 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 3.547e-06/0.8899, allocations: 0 / 1.532 GB, free: 13.63 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.00901/0.8989, allocations: 2.175 MB / 1.534 GB, free: 11.44 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.391e-05/0.899, allocations: 89.09 kB / 1.534 GB, free: 11.34 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004777/0.9037, allocations: 2.513 MB / 1.536 GB, free: 8.805 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001942/0.9039, allocations: 45.7 kB / 1.536 GB, free: 8.754 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/0.905, allocations: 1.051 MB / 1.537 GB, free: 7.695 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003501/0.9054, allocations: 277.6 kB / 1.538 GB, free: 7.422 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004661/0.9059, allocations: 258.7 kB / 1.538 GB, free: 7.164 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.9061, allocations: 357.9 kB / 1.538 GB, free: 6.809 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.9078, allocations: 0.5686 MB / 1.539 GB, free: 6.238 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.9099, allocations: 0.9543 MB / 1.54 GB, free: 5.133 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003017/0.9129, allocations: 1.248 MB / 1.541 GB, free: 3.777 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.9129, allocations: 3.938 kB / 1.541 GB, free: 3.773 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006766/0.9197, allocations: 2.033 MB / 1.543 GB, free: 1.727 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.9197, allocations: 8 kB / 1.543 GB, free: 1.719 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.9198, allocations: 8 kB / 1.543 GB, free: 1.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/0.9215, allocations: 426.1 kB / 1.543 GB, free: 1.289 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.9227, allocations: 283.5 kB / 1.544 GB, free: 1.012 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.9251, allocations: 1.499 MB / 1.545 GB, free: 15.46 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002899/0.928, allocations: 374.5 kB / 1.546 GB, free: 15.1 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.9281, allocations: 59.97 kB / 1.546 GB, free: 15.04 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 (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.001066/0.9292, allocations: 461.5 kB / 1.546 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005418/0.9297, allocations: 266.2 kB / 1.546 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003704/0.9334, allocations: 1.498 MB / 1.548 GB, free: 12.8 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.9335, allocations: 16 kB / 1.548 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.9335, allocations: 3.938 kB / 1.548 GB, free: 12.78 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.9335, allocations: 3.984 kB / 1.548 GB, free: 12.77 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00808/0.9416, allocations: 3.583 MB / 1.551 GB, free: 9.086 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.9416, allocations: 7.938 kB / 1.551 GB, free: 9.078 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006626/0.9422, allocations: 132.1 kB / 1.551 GB, free: 8.949 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.9438, allocations: 413.2 kB / 1.552 GB, free: 8.539 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.419e-05/0.9438, allocations: 27.97 kB / 1.552 GB, free: 8.512 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002765/0.9466, allocations: 1.572 MB / 1.553 GB, free: 6.891 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.9466, allocations: 4 kB / 1.553 GB, free: 6.887 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006353/0.953, allocations: 1.954 MB / 1.555 GB, free: 4.871 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001384/0.9543, allocations: 423.9 kB / 1.556 GB, free: 4.453 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/0.9547, allocations: 23.94 kB / 1.556 GB, free: 4.43 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001677/0.9564, allocations: 135.8 kB / 1.556 GB, free: 4.297 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.9565, allocations: 51.91 kB / 1.556 GB, free: 4.246 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-05/0.9566, allocations: 59.83 kB / 1.556 GB, free: 4.188 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003274/0.9599, allocations: 1.754 MB / 1.558 GB, free: 2.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.9599, allocations: 0 / 1.558 GB, free: 2.43 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002244/0.9621, allocations: 0.6979 MB / 1.558 GB, free: 1.73 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 (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.001092/0.9632, allocations: 0.5916 MB / 1.559 GB, free: 1.125 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004287/0.9675, allocations: 1.307 MB / 1.56 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.9675, allocations: 4.188 kB / 1.56 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.9699, allocations: 0.6482 MB / 1.561 GB, free: 15.17 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006497/0.9764, allocations: 1.324 MB / 1.562 GB, free: 13.86 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007435/0.9838, allocations: 3.613 MB / 1.566 GB, free: 10.17 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.9851, allocations: 1.497 MB / 1.567 GB, free: 8.641 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002138/0.9873, allocations: 436.5 kB / 1.568 GB, free: 8.211 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.9877, allocations: 167.4 kB / 1.568 GB, free: 8.047 MB / 1.264 GB Notification: Performance of SimCode: time 1.793e-06/0.9877, allocations: 0 / 1.568 GB, free: 8.047 MB / 1.264 GB Notification: Performance of Templates: time 0.978/1.966, allocations: 49.61 MB / 1.616 GB, free: 270.7 MB / 1.295 GB " [Timeout remaining time 298] 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/jenkins/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: 13.63071186793968]