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.002481/0.002481, allocations: 107.6 kB / 18.95 MB, free: 2.805 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.003587/0.003587, allocations: 213.5 kB / 22.24 MB, free: 5.117 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.757/1.757, allocations: 230.6 MB / 256 MB, free: 7.789 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.658/3.658, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002117/0.002117, allocations: 66 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4984, allocations: 176.1 MB / 1.326 GB, free: 1.836 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.2532/0.7516, allocations: 121.8 MB / 1.445 GB, free: 7.602 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0456/0.7972, allocations: 21.61 MB / 1.466 GB, free: 1.945 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006475/0.8036, allocations: 174.5 kB / 1.466 GB, free: 1.773 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.006059/0.8097, allocations: 1.487 MB / 1.467 GB, free: 284 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01729/0.827, allocations: 4.346 MB / 1.471 GB, free: 11.91 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007874/0.8349, allocations: 2.195 MB / 1.474 GB, free: 9.738 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.01441/0.8493, allocations: 6.549 MB / 1.48 GB, free: 3.164 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004454/0.8537, allocations: 1.817 MB / 1.482 GB, free: 1.285 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009976/0.8637, allocations: 3.175 MB / 1.485 GB, free: 14.11 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004991/0.8687, allocations: 1.816 MB / 1.487 GB, free: 12.29 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0007887/0.8695, allocations: 244 kB / 1.487 GB, free: 12.05 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005714/0.8752, allocations: 1.583 MB / 1.488 GB, free: 10.46 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.8762, allocations: 0.6146 MB / 1.489 GB, free: 9.844 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002568/0.8788, allocations: 1.155 MB / 1.49 GB, free: 8.684 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.8893, allocations: 4.391 MB / 1.494 GB, free: 4.277 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8893, allocations: 0 / 1.494 GB, free: 4.277 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.524e-06/0.8893, allocations: 3.938 kB / 1.494 GB, free: 4.273 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001042/0.8894, allocations: 0 / 1.494 GB, free: 4.273 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.008003/0.8974, allocations: 3.189 MB / 1.498 GB, free: 1.016 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.8975, allocations: 12.03 kB / 1.498 GB, free: 1.004 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.9022, allocations: 0.8492 MB / 1.498 GB, free: 156 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/0.9086, allocations: 2.3 MB / 1.501 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001497/0.9088, allocations: 123 kB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/0.9091, allocations: 160 kB / 1.501 GB, free: 13.49 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004953/0.9141, allocations: 1.998 MB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.135e-05/0.9141, allocations: 3.938 kB / 1.503 GB, free: 11.4 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.9143, allocations: 64 kB / 1.503 GB, free: 11.34 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.257e-05/0.9143, allocations: 39.94 kB / 1.503 GB, free: 11.3 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005574/0.9199, allocations: 1.784 MB / 1.505 GB, free: 9.516 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.01702/0.9369, allocations: 6.15 MB / 1.511 GB, free: 3.227 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/0.9415, allocations: 1.146 MB / 1.512 GB, free: 2.062 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.9427, allocations: 433.4 kB / 1.512 GB, free: 1.633 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000556/0.9432, allocations: 151.9 kB / 1.512 GB, free: 1.484 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/0.9433, allocations: 42.56 kB / 1.512 GB, free: 1.434 MB / 1.201 GB Notification: Performance of pre-optimization done (n=76): time 3.847e-06/0.9433, allocations: 0 / 1.512 GB, free: 1.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=76): time 0.009458/0.9528, allocations: 2.129 MB / 1.515 GB, free: 15.29 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.74e-05/0.9529, allocations: 85.11 kB / 1.515 GB, free: 15.19 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004931/0.9578, allocations: 1.98 MB / 1.517 GB, free: 13.17 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.958, allocations: 45.7 kB / 1.517 GB, free: 13.12 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.9593, allocations: 1.082 MB / 1.518 GB, free: 12.03 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/0.9598, allocations: 289.6 kB / 1.518 GB, free: 11.74 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007385/0.9605, allocations: 254.7 kB / 1.518 GB, free: 11.49 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002032/0.9607, allocations: 341.9 kB / 1.518 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.9627, allocations: 0.5764 MB / 1.519 GB, free: 10.57 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002895/0.9655, allocations: 1.609 MB / 1.521 GB, free: 8.652 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.9691, allocations: 1.252 MB / 1.522 GB, free: 7.293 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/0.9691, allocations: 4 kB / 1.522 GB, free: 7.289 MB / 1.217 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007571/0.9767, allocations: 1.979 MB / 1.524 GB, free: 5.297 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.9767, allocations: 8 kB / 1.524 GB, free: 5.289 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.9767, allocations: 8.625 kB / 1.524 GB, free: 5.281 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001954/0.9787, allocations: 429.1 kB / 1.524 GB, free: 4.859 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/0.98, allocations: 283.5 kB / 1.524 GB, free: 4.582 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002671/0.9827, allocations: 1.507 MB / 1.526 GB, free: 3.023 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002841/0.9855, allocations: 287.2 kB / 1.526 GB, free: 2.742 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.9857, allocations: 59.97 kB / 1.526 GB, free: 2.684 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.001446/0.9872, allocations: 461.5 kB / 1.527 GB, free: 2.223 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009083/0.9881, allocations: 210.7 kB / 1.527 GB, free: 2.016 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004501/0.9926, allocations: 1.464 MB / 1.528 GB, free: 0.5312 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/0.9926, allocations: 12 kB / 1.528 GB, free: 0.5195 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.9926, allocations: 11.92 kB / 1.528 GB, free: 0.5078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.9927, allocations: 3.984 kB / 1.528 GB, free: 0.5039 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009751/1.002, allocations: 3.159 MB / 1.531 GB, free: 13.26 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.74e-05/1.002, allocations: 4 kB / 1.531 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006503/1.003, allocations: 132.2 kB / 1.532 GB, free: 13.12 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.005, allocations: 416.5 kB / 1.532 GB, free: 12.71 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/1.005, allocations: 31.92 kB / 1.532 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/1.008, allocations: 1.569 MB / 1.534 GB, free: 11.06 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/1.008, allocations: 11.88 kB / 1.534 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006838/1.015, allocations: 1.889 MB / 1.535 GB, free: 9.102 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/1.016, allocations: 372.2 kB / 1.536 GB, free: 8.734 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006261/1.017, allocations: 20 kB / 1.536 GB, free: 8.715 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/1.019, allocations: 123.8 kB / 1.536 GB, free: 8.594 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/1.019, allocations: 59.84 kB / 1.536 GB, free: 8.535 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.019, allocations: 43.95 kB / 1.536 GB, free: 8.492 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003786/1.023, allocations: 1.364 MB / 1.537 GB, free: 7.109 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.5e-07/1.023, allocations: 4 kB / 1.537 GB, free: 7.105 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003611/1.027, allocations: 0.7442 MB / 1.538 GB, free: 6.359 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.001623/1.028, allocations: 0.5877 MB / 1.539 GB, free: 5.758 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.004856/1.033, allocations: 1.315 MB / 1.54 GB, free: 4.445 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.033, allocations: 4.062 kB / 1.54 GB, free: 4.441 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002563/1.036, allocations: 0.6442 MB / 1.541 GB, free: 3.797 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/1.041, allocations: 0.8712 MB / 1.541 GB, free: 2.941 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009411/1.051, allocations: 3.541 MB / 1.545 GB, free: 15.32 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001718/1.052, allocations: 0.9233 MB / 1.546 GB, free: 14.36 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002106/1.055, allocations: 359.6 kB / 1.546 GB, free: 14 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006495/1.055, allocations: 147.4 kB / 1.546 GB, free: 13.86 MB / 1.248 GB Notification: Performance of SimCode: time 1.303e-06/1.055, allocations: 0 / 1.546 GB, free: 13.86 MB / 1.248 GB Notification: Performance of Templates: time 0.08791/1.143, allocations: 44.42 MB / 1.59 GB, free: 2.305 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 -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: 12.704926511272788]