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.001609/0.001609, allocations: 104.3 kB / 19.7 MB, free: 2.004 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.002088/0.002088, allocations: 212.5 kB / 22.99 MB, free: 4.418 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.678/1.678, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.382/3.382, allocations: 0.49 GB / 0.7959 GB, free: 35.55 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.002111/0.002111, allocations: 72.98 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5261, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.167/0.6931, allocations: 121.8 MB / 1.446 GB, free: 6.754 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.04258/0.7357, allocations: 21.61 MB / 1.467 GB, free: 1.094 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009017/0.7447, allocations: 174.5 kB / 1.467 GB, free: 0.9219 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.008147/0.7529, allocations: 1.483 MB / 1.469 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01843/0.7713, allocations: 4.351 MB / 1.473 GB, free: 11.06 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.008449/0.7798, allocations: 2.213 MB / 1.475 GB, free: 8.867 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01423/0.794, allocations: 6.598 MB / 1.482 GB, free: 2.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0056/0.7996, allocations: 1.836 MB / 1.483 GB, free: 360 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01071/0.8103, allocations: 3.18 MB / 1.487 GB, free: 13.17 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005625/0.8159, allocations: 1.927 MB / 1.488 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.8173, allocations: 244 kB / 1.489 GB, free: 11 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00661/0.824, allocations: 1.61 MB / 1.49 GB, free: 9.387 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001787/0.8257, allocations: 0.6107 MB / 1.491 GB, free: 8.773 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.004598/0.8303, allocations: 1.163 MB / 1.492 GB, free: 7.605 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.844, allocations: 4.383 MB / 1.496 GB, free: 3.207 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.844, allocations: 0 / 1.496 GB, free: 3.207 MB / 1.186 GB Notification: Performance of FrontEnd: time 3.356e-06/0.844, allocations: 0 / 1.496 GB, free: 3.207 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0002159/0.8442, allocations: 4 kB / 1.496 GB, free: 3.203 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.01054/0.8547, allocations: 3.183 MB / 1.499 GB, free: 15.95 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.8548, allocations: 8.031 kB / 1.499 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004961/0.8598, allocations: 0.8609 MB / 1.5 GB, free: 15.08 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0068/0.8666, allocations: 2.292 MB / 1.502 GB, free: 12.7 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/0.8667, allocations: 127 kB / 1.503 GB, free: 12.57 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002828/0.867, allocations: 160 kB / 1.503 GB, free: 12.42 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00488/0.8719, allocations: 2.002 MB / 1.505 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.8719, allocations: 0 / 1.505 GB, free: 10.33 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.8721, allocations: 72 kB / 1.505 GB, free: 10.26 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.123e-05/0.8721, allocations: 43.92 kB / 1.505 GB, free: 10.22 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004814/0.877, allocations: 1.78 MB / 1.506 GB, free: 8.438 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.01386/0.8908, allocations: 6.139 MB / 1.512 GB, free: 2.156 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.8952, allocations: 1.141 MB / 1.514 GB, free: 1 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.8963, allocations: 430.2 kB / 1.514 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.8968, allocations: 159.9 kB / 1.514 GB, free: 428 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.655e-05/0.8969, allocations: 42.5 kB / 1.514 GB, free: 376 kB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 4.629e-06/0.8969, allocations: 3.938 kB / 1.514 GB, free: 372 kB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.009114/0.906, allocations: 2.128 MB / 1.516 GB, free: 14.22 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.258e-05/0.9061, allocations: 85.11 kB / 1.516 GB, free: 14.12 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003895/0.91, allocations: 1.98 MB / 1.518 GB, free: 12.1 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001876/0.9102, allocations: 45.7 kB / 1.518 GB, free: 12.05 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.9113, allocations: 1.086 MB / 1.519 GB, free: 10.95 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.9117, allocations: 285.6 kB / 1.52 GB, free: 10.67 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005384/0.9122, allocations: 250.8 kB / 1.52 GB, free: 10.42 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.9124, allocations: 345.9 kB / 1.52 GB, free: 10.08 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.9142, allocations: 0.5764 MB / 1.521 GB, free: 9.5 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002636/0.9168, allocations: 1.611 MB / 1.522 GB, free: 7.578 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.9199, allocations: 1.244 MB / 1.524 GB, free: 6.227 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.9199, allocations: 4 kB / 1.524 GB, free: 6.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006773/0.9267, allocations: 1.979 MB / 1.526 GB, free: 4.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.9268, allocations: 15.94 kB / 1.526 GB, free: 4.215 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.083e-05/0.9268, allocations: 8 kB / 1.526 GB, free: 4.207 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001855/0.9286, allocations: 425.2 kB / 1.526 GB, free: 3.785 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.9299, allocations: 283.6 kB / 1.526 GB, free: 3.508 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/0.9322, allocations: 1.499 MB / 1.528 GB, free: 1.957 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002801/0.935, allocations: 291.2 kB / 1.528 GB, free: 1.672 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.9352, allocations: 63.95 kB / 1.528 GB, free: 1.609 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.001224/0.9364, allocations: 465.4 kB / 1.528 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005038/0.9369, allocations: 210.7 kB / 1.529 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/0.9407, allocations: 1.464 MB / 1.53 GB, free: 15.45 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/0.9407, allocations: 15.98 kB / 1.53 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.077e-05/0.9407, allocations: 4 kB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.9407, allocations: 3.984 kB / 1.53 GB, free: 15.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007848/0.9486, allocations: 3.148 MB / 1.533 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.9486, allocations: 4 kB / 1.533 GB, free: 12.19 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006453/0.9493, allocations: 140.1 kB / 1.533 GB, free: 12.05 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.9508, allocations: 409.1 kB / 1.534 GB, free: 11.65 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.804e-05/0.9509, allocations: 39.91 kB / 1.534 GB, free: 11.61 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/0.9536, allocations: 1.568 MB / 1.535 GB, free: 9.992 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.9536, allocations: 7.938 kB / 1.535 GB, free: 9.984 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006583/0.9602, allocations: 1.9 MB / 1.537 GB, free: 8.023 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001474/0.9617, allocations: 360.2 kB / 1.538 GB, free: 7.668 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002853/0.962, allocations: 23.95 kB / 1.538 GB, free: 7.645 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.9635, allocations: 127.8 kB / 1.538 GB, free: 7.52 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.9636, allocations: 55.89 kB / 1.538 GB, free: 7.465 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.533e-05/0.9637, allocations: 39.97 kB / 1.538 GB, free: 7.426 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002673/0.9664, allocations: 1.368 MB / 1.539 GB, free: 6.039 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.9664, allocations: 0 / 1.539 GB, free: 6.039 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002747/0.9691, allocations: 0.7442 MB / 1.54 GB, free: 5.293 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.001378/0.9705, allocations: 0.597 MB / 1.54 GB, free: 4.684 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004423/0.9749, allocations: 1.315 MB / 1.542 GB, free: 3.371 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.9749, allocations: 4 kB / 1.542 GB, free: 3.367 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/0.9773, allocations: 0.6367 MB / 1.542 GB, free: 2.73 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/0.9817, allocations: 0.8748 MB / 1.543 GB, free: 1.871 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.9895, allocations: 3.549 MB / 1.547 GB, free: 14.25 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.9906, allocations: 0.9233 MB / 1.548 GB, free: 13.29 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001958/0.9926, allocations: 359.6 kB / 1.548 GB, free: 12.93 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004263/0.993, allocations: 147.3 kB / 1.548 GB, free: 12.79 MB / 1.248 GB Notification: Performance of SimCode: time 1.452e-06/0.993, allocations: 0 / 1.548 GB, free: 12.79 MB / 1.248 GB Notification: Performance of Templates: time 0.08439/1.077, allocations: 44.75 MB / 1.592 GB, free: 0.9023 MB / 1.279 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 -s cvode -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: 12.081463680995512]