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.002069/0.002069, allocations: 108.9 kB / 16.46 MB, free: 6.508 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.002595/0.002595, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.369/3.369, allocations: 0.4899 GB / 0.7915 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.002076/0.002076, allocations: 67.41 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3999, allocations: 176.1 MB / 1.321 GB, free: 2.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1584/0.5583, allocations: 133.9 MB / 1.452 GB, free: 12.49 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.04322/0.6015, allocations: 23.27 MB / 1.475 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006377/0.6079, allocations: 170.5 kB / 1.475 GB, free: 5 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.005794/0.6136, allocations: 1.557 MB / 1.476 GB, free: 3.434 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01713/0.6308, allocations: 4.31 MB / 1.481 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007332/0.6381, allocations: 2.172 MB / 1.483 GB, free: 12.95 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0144/0.6525, allocations: 6.509 MB / 1.489 GB, free: 6.426 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005431/0.6579, allocations: 1.918 MB / 1.491 GB, free: 4.449 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009046/0.667, allocations: 3.087 MB / 1.494 GB, free: 1.359 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.6714, allocations: 1.937 MB / 1.496 GB, free: 15.41 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001077/0.6724, allocations: 251.9 kB / 1.496 GB, free: 15.17 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005896/0.6783, allocations: 2.016 MB / 1.498 GB, free: 13.15 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001199/0.6795, allocations: 0.6184 MB / 1.499 GB, free: 12.53 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003016/0.6826, allocations: 1.454 MB / 1.5 GB, free: 11.07 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.6936, allocations: 4.469 MB / 1.505 GB, free: 6.582 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6936, allocations: 0 / 1.505 GB, free: 6.582 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6936, allocations: 0 / 1.505 GB, free: 6.582 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001295/0.6937, allocations: 0 / 1.505 GB, free: 6.582 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.01089/0.7046, allocations: 3.262 MB / 1.508 GB, free: 3.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.7047, allocations: 15.98 kB / 1.508 GB, free: 3.215 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.7101, allocations: 0.8492 MB / 1.509 GB, free: 2.363 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006386/0.7165, allocations: 2.368 MB / 1.511 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.7167, allocations: 127 kB / 1.511 GB, free: 15.8 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004754/0.7172, allocations: 160 kB / 1.511 GB, free: 15.64 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005428/0.7226, allocations: 1.923 MB / 1.513 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.7226, allocations: 4 kB / 1.513 GB, free: 13.65 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002256/0.7229, allocations: 60 kB / 1.513 GB, free: 13.59 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.7229, allocations: 43.94 kB / 1.513 GB, free: 13.55 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005891/0.7288, allocations: 1.784 MB / 1.515 GB, free: 11.76 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.01875/0.7475, allocations: 8.983 MB / 1.524 GB, free: 2.172 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/0.7526, allocations: 1.158 MB / 1.525 GB, free: 0.9961 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.7539, allocations: 429.4 kB / 1.525 GB, free: 0.5703 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001734/0.7556, allocations: 1.723 MB / 1.527 GB, free: 14.46 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.7557, allocations: 50.5 kB / 1.527 GB, free: 14.4 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 2.615e-06/0.7557, allocations: 0 / 1.527 GB, free: 14.4 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.0103/0.766, allocations: 2.332 MB / 1.529 GB, free: 12.02 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.077e-05/0.7661, allocations: 89.09 kB / 1.529 GB, free: 11.91 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005883/0.7719, allocations: 2.501 MB / 1.532 GB, free: 9.395 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.7721, allocations: 45.7 kB / 1.532 GB, free: 9.344 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.7732, allocations: 1.051 MB / 1.533 GB, free: 8.285 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003872/0.7736, allocations: 281.6 kB / 1.533 GB, free: 8.008 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005547/0.7742, allocations: 254.8 kB / 1.533 GB, free: 7.754 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001771/0.7744, allocations: 353.9 kB / 1.534 GB, free: 7.402 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.7763, allocations: 0.5724 MB / 1.534 GB, free: 6.828 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00253/0.7789, allocations: 0.9504 MB / 1.535 GB, free: 5.723 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003654/0.7825, allocations: 1.252 MB / 1.536 GB, free: 4.367 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/0.7825, allocations: 3.938 kB / 1.536 GB, free: 4.363 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.0077/0.7902, allocations: 2.026 MB / 1.538 GB, free: 2.324 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.7903, allocations: 13.34 kB / 1.538 GB, free: 2.312 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.7903, allocations: 8 kB / 1.538 GB, free: 2.305 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.7922, allocations: 425.4 kB / 1.539 GB, free: 1.883 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.7935, allocations: 279.6 kB / 1.539 GB, free: 1.609 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002552/0.7961, allocations: 1.499 MB / 1.54 GB, free: 64 kB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003068/0.7991, allocations: 374.5 kB / 1.541 GB, free: 15.7 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.7993, allocations: 55.97 kB / 1.541 GB, free: 15.64 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.8004, allocations: 475.7 kB / 1.541 GB, free: 15.17 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007959/0.8012, allocations: 258.3 kB / 1.542 GB, free: 14.91 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/0.8057, allocations: 1.498 MB / 1.543 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.8057, allocations: 8 kB / 1.543 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.8058, allocations: 0 / 1.543 GB, free: 13.39 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.8058, allocations: 7.984 kB / 1.543 GB, free: 13.38 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009622/0.8154, allocations: 3.596 MB / 1.547 GB, free: 9.672 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.8154, allocations: 11.88 kB / 1.547 GB, free: 9.66 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.8161, allocations: 132.1 kB / 1.547 GB, free: 9.531 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001726/0.8178, allocations: 416.3 kB / 1.547 GB, free: 9.121 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8e-05/0.8179, allocations: 23.98 kB / 1.547 GB, free: 9.098 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002987/0.8209, allocations: 1.573 MB / 1.549 GB, free: 7.473 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.131e-06/0.8209, allocations: 4 kB / 1.549 GB, free: 7.469 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007046/0.8279, allocations: 1.941 MB / 1.551 GB, free: 5.461 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/0.8292, allocations: 499 kB / 1.551 GB, free: 4.953 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000618/0.8299, allocations: 27.88 kB / 1.551 GB, free: 4.926 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.832, allocations: 139.8 kB / 1.551 GB, free: 4.789 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.8321, allocations: 47.92 kB / 1.551 GB, free: 4.742 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.8322, allocations: 55.91 kB / 1.551 GB, free: 4.688 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003939/0.8361, allocations: 1.75 MB / 1.553 GB, free: 2.934 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8361, allocations: 0 / 1.553 GB, free: 2.934 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002478/0.8386, allocations: 0.7018 MB / 1.554 GB, free: 2.23 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.001383/0.84, allocations: 0.5878 MB / 1.554 GB, free: 1.629 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004871/0.8449, allocations: 1.299 MB / 1.556 GB, free: 344 kB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/0.8449, allocations: 192 / 1.556 GB, free: 344 kB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.002729/0.8476, allocations: 0.6404 MB / 1.556 GB, free: 15.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007806/0.8554, allocations: 1.326 MB / 1.557 GB, free: 14.39 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008754/0.8642, allocations: 3.601 MB / 1.561 GB, free: 10.71 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.8658, allocations: 1.494 MB / 1.562 GB, free: 9.188 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.0022/0.868, allocations: 436.5 kB / 1.563 GB, free: 8.758 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005856/0.8686, allocations: 167.3 kB / 1.563 GB, free: 8.594 MB / 1.264 GB Notification: Performance of SimCode: time 1.052e-06/0.8686, allocations: 3.938 kB / 1.563 GB, free: 8.59 MB / 1.264 GB Notification: Performance of Templates: time 0.814/1.683, allocations: 48.89 MB / 1.611 GB, free: 271.2 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: 12.588923739735037]