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.001517/0.001517, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.00171/0.00171, allocations: 212.2 kB / 23.04 MB, free: 4.852 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.425/1.425, allocations: 230.6 MB / 256.8 MB, free: 7.762 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.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 35.36 MB / 0.6231 GB " [Timeout remaining time 177] 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.001995/0.001995, allocations: 73.55 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.3637, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1368/0.5004, allocations: 121.8 MB / 1.446 GB, free: 6.715 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.03601/0.5364, allocations: 21.62 MB / 1.467 GB, free: 1.055 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005129/0.5416, allocations: 170.5 kB / 1.467 GB, free: 0.8867 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.004854/0.5464, allocations: 1.479 MB / 1.469 GB, free: 15.4 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01377/0.5602, allocations: 4.36 MB / 1.473 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.006941/0.5671, allocations: 2.186 MB / 1.475 GB, free: 8.852 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01108/0.5782, allocations: 6.554 MB / 1.482 GB, free: 2.281 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00442/0.5826, allocations: 1.821 MB / 1.483 GB, free: 408 kB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00855/0.5912, allocations: 3.161 MB / 1.487 GB, free: 13.23 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.5954, allocations: 1.82 MB / 1.488 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.001058/0.5964, allocations: 244 kB / 1.489 GB, free: 11.17 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005219/0.6016, allocations: 1.583 MB / 1.49 GB, free: 9.582 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.6029, allocations: 0.6146 MB / 1.491 GB, free: 8.965 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.003125/0.606, allocations: 1.163 MB / 1.492 GB, free: 7.797 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.009904/0.6159, allocations: 4.383 MB / 1.496 GB, free: 3.398 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.6159, allocations: 0 / 1.496 GB, free: 3.398 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.134e-06/0.6159, allocations: 0 / 1.496 GB, free: 3.398 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001672/0.6161, allocations: 4 kB / 1.496 GB, free: 3.395 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.008869/0.625, allocations: 3.183 MB / 1.499 GB, free: 144 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.625, allocations: 8.031 kB / 1.499 GB, free: 136 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00485/0.6299, allocations: 0.8531 MB / 1.5 GB, free: 15.28 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005704/0.6356, allocations: 2.304 MB / 1.502 GB, free: 12.89 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.6357, allocations: 123 kB / 1.502 GB, free: 12.77 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002821/0.636, allocations: 156 kB / 1.503 GB, free: 12.61 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004445/0.6404, allocations: 2.006 MB / 1.505 GB, free: 10.52 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/0.6405, allocations: 4 kB / 1.505 GB, free: 10.52 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001595/0.6406, allocations: 64 kB / 1.505 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.6407, allocations: 39.94 kB / 1.505 GB, free: 10.42 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005011/0.6457, allocations: 1.78 MB / 1.506 GB, free: 8.637 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.0142/0.6599, allocations: 6.142 MB / 1.512 GB, free: 2.352 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004436/0.6643, allocations: 1.138 MB / 1.513 GB, free: 1.195 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.6655, allocations: 438.1 kB / 1.514 GB, free: 0.7617 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005011/0.666, allocations: 155.9 kB / 1.514 GB, free: 0.6094 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.352e-05/0.666, allocations: 42.56 kB / 1.514 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.757e-06/0.666, allocations: 0 / 1.514 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.008996/0.675, allocations: 2.128 MB / 1.516 GB, free: 14.41 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.597e-05/0.6751, allocations: 89.05 kB / 1.516 GB, free: 14.31 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003669/0.6788, allocations: 1.984 MB / 1.518 GB, free: 12.29 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001875/0.6789, allocations: 45.7 kB / 1.518 GB, free: 12.24 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009711/0.6799, allocations: 1.082 MB / 1.519 GB, free: 11.14 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003426/0.6803, allocations: 281.6 kB / 1.52 GB, free: 10.87 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004571/0.6807, allocations: 258.7 kB / 1.52 GB, free: 10.61 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.6809, allocations: 345.9 kB / 1.52 GB, free: 10.27 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001784/0.6827, allocations: 0.5764 MB / 1.521 GB, free: 9.688 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.6852, allocations: 1.603 MB / 1.522 GB, free: 7.773 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.6885, allocations: 1.252 MB / 1.523 GB, free: 6.414 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.101e-05/0.6885, allocations: 4 kB / 1.523 GB, free: 6.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006878/0.6953, allocations: 1.975 MB / 1.525 GB, free: 4.422 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.6954, allocations: 8 kB / 1.525 GB, free: 4.414 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.6954, allocations: 11.94 kB / 1.525 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0017/0.6971, allocations: 423.5 kB / 1.526 GB, free: 3.984 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.6984, allocations: 283.5 kB / 1.526 GB, free: 3.707 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002367/0.7008, allocations: 1.503 MB / 1.528 GB, free: 2.152 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.7034, allocations: 287.2 kB / 1.528 GB, free: 1.871 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.7036, allocations: 55.97 kB / 1.528 GB, free: 1.816 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.001047/0.7046, allocations: 473.4 kB / 1.528 GB, free: 1.344 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005335/0.7052, allocations: 202.7 kB / 1.529 GB, free: 1.145 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003789/0.709, allocations: 1.472 MB / 1.53 GB, free: 15.65 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-05/0.709, allocations: 8 kB / 1.53 GB, free: 15.64 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.709, allocations: 15.92 kB / 1.53 GB, free: 15.63 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.709, allocations: 3.984 kB / 1.53 GB, free: 15.62 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007966/0.717, allocations: 3.159 MB / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.717, allocations: 4 kB / 1.533 GB, free: 12.38 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006383/0.7176, allocations: 136.1 kB / 1.533 GB, free: 12.24 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.7192, allocations: 417.2 kB / 1.534 GB, free: 11.83 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.35e-05/0.7193, allocations: 35.86 kB / 1.534 GB, free: 11.79 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002838/0.7221, allocations: 1.566 MB / 1.535 GB, free: 10.18 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.7221, allocations: 7.875 kB / 1.535 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006425/0.7285, allocations: 1.893 MB / 1.537 GB, free: 8.219 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/0.7298, allocations: 364.2 kB / 1.537 GB, free: 7.859 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.7301, allocations: 20 kB / 1.537 GB, free: 7.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001439/0.7315, allocations: 127.8 kB / 1.538 GB, free: 7.715 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.7317, allocations: 55.84 kB / 1.538 GB, free: 7.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.479e-05/0.7317, allocations: 43.95 kB / 1.538 GB, free: 7.617 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002567/0.7343, allocations: 1.372 MB / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7343, allocations: 0 / 1.539 GB, free: 6.227 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.002391/0.7367, allocations: 0.7404 MB / 1.54 GB, free: 5.484 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.001181/0.7379, allocations: 0.5983 MB / 1.54 GB, free: 4.875 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0043/0.7422, allocations: 1.311 MB / 1.542 GB, free: 3.57 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7422, allocations: 4 kB / 1.542 GB, free: 3.566 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002469/0.7447, allocations: 0.6445 MB / 1.542 GB, free: 2.922 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.749, allocations: 0.8634 MB / 1.543 GB, free: 2.07 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007134/0.7561, allocations: 3.597 MB / 1.547 GB, free: 14.39 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.7571, allocations: 0.9155 MB / 1.547 GB, free: 13.44 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.7578, allocations: 151.4 kB / 1.548 GB, free: 13.29 MB / 1.248 GB Notification: Performance of SimCode: time 1.323e-06/0.7578, allocations: 0 / 1.548 GB, free: 13.29 MB / 1.248 GB Notification: Performance of Templates: time 0.07731/0.8351, allocations: 58.39 MB / 1.605 GB, free: 3.141 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: 17.355114192934707]