Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002123/0.002123, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002995/0.002995, allocations: 213.1 kB / 22.25 MB, free: 5.262 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.601/1.601, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.84/3.84, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002167/0.002167, allocations: 75.75 kB / 1.186 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4851/0.4873, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.158/0.6453, allocations: 121.8 MB / 1.483 GB, free: 3.305 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0479/0.6932, allocations: 21.59 MB / 1.504 GB, free: 13.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006803/0.7, allocations: 170.5 kB / 1.504 GB, free: 13.5 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.006727/0.7067, allocations: 1.49 MB / 1.506 GB, free: 12 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01841/0.7251, allocations: 4.341 MB / 1.51 GB, free: 7.637 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008148/0.7333, allocations: 2.193 MB / 1.512 GB, free: 5.461 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01561/0.7489, allocations: 6.556 MB / 1.518 GB, free: 14.88 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007352/0.7562, allocations: 1.817 MB / 1.52 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01229/0.7685, allocations: 3.164 MB / 1.523 GB, free: 9.84 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005682/0.7742, allocations: 1.814 MB / 1.525 GB, free: 8.02 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.7758, allocations: 252 kB / 1.525 GB, free: 7.773 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009194/0.785, allocations: 1.575 MB / 1.527 GB, free: 6.195 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002504/0.7875, allocations: 0.6184 MB / 1.527 GB, free: 5.574 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.005111/0.7926, allocations: 1.155 MB / 1.528 GB, free: 4.414 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01419/0.8068, allocations: 4.387 MB / 1.533 GB, free: 12 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 1.132e-05/0.8068, allocations: 4 kB / 1.533 GB, free: 8 kB / 1.217 GB Notification: Performance of FrontEnd: time 4.028e-06/0.8068, allocations: 0 / 1.533 GB, free: 8 kB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002509/0.807, allocations: 0 / 1.533 GB, free: 8 kB / 1.217 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.01187/0.8189, allocations: 3.187 MB / 1.536 GB, free: 12.75 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.8189, allocations: 12.03 kB / 1.536 GB, free: 12.74 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005344/0.8243, allocations: 0.8567 MB / 1.537 GB, free: 11.88 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008443/0.8327, allocations: 2.296 MB / 1.539 GB, free: 9.496 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002769/0.833, allocations: 127 kB / 1.539 GB, free: 9.371 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007165/0.8337, allocations: 160 kB / 1.539 GB, free: 9.215 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007079/0.8408, allocations: 1.998 MB / 1.541 GB, free: 7.133 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.8408, allocations: 7.938 kB / 1.541 GB, free: 7.125 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.8411, allocations: 63.94 kB / 1.541 GB, free: 7.062 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.391e-05/0.8411, allocations: 43.94 kB / 1.541 GB, free: 7.02 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.8463, allocations: 1.784 MB / 1.543 GB, free: 5.234 MB / 1.232 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.01665/0.863, allocations: 6.131 MB / 1.549 GB, free: 14.96 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004611/0.8676, allocations: 1.149 MB / 1.55 GB, free: 13.8 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.8688, allocations: 434.2 kB / 1.551 GB, free: 13.37 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/0.8694, allocations: 147.9 kB / 1.551 GB, free: 13.22 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.235e-05/0.8695, allocations: 42.56 kB / 1.551 GB, free: 13.17 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.737e-06/0.8695, allocations: 0 / 1.551 GB, free: 13.17 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009817/0.8793, allocations: 2.13 MB / 1.553 GB, free: 11.03 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.694e-05/0.8794, allocations: 93.09 kB / 1.553 GB, free: 10.92 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005659/0.8851, allocations: 1.977 MB / 1.555 GB, free: 8.906 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002505/0.8853, allocations: 45.7 kB / 1.555 GB, free: 8.855 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.8866, allocations: 1.09 MB / 1.556 GB, free: 7.754 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/0.8871, allocations: 277.6 kB / 1.556 GB, free: 7.48 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007076/0.8878, allocations: 258.8 kB / 1.556 GB, free: 7.223 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.888, allocations: 341.9 kB / 1.557 GB, free: 6.883 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001983/0.89, allocations: 0.5725 MB / 1.557 GB, free: 6.309 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.893, allocations: 1.607 MB / 1.559 GB, free: 4.395 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003604/0.8966, allocations: 1.256 MB / 1.56 GB, free: 3.031 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.645e-05/0.8966, allocations: 0 / 1.56 GB, free: 3.031 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00744/0.904, allocations: 1.983 MB / 1.562 GB, free: 1.031 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.9041, allocations: 8 kB / 1.562 GB, free: 1.023 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.9041, allocations: 8 kB / 1.562 GB, free: 1.016 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001893/0.906, allocations: 415 kB / 1.562 GB, free: 0.6055 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/0.9072, allocations: 279.5 kB / 1.563 GB, free: 340 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00259/0.9098, allocations: 1.511 MB / 1.564 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.9128, allocations: 283.2 kB / 1.564 GB, free: 14.49 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000232/0.913, allocations: 63.95 kB / 1.565 GB, free: 14.43 MB / 1.264 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.001437/0.9144, allocations: 465.5 kB / 1.565 GB, free: 13.96 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009743/0.9154, allocations: 210.6 kB / 1.565 GB, free: 13.76 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004216/0.9196, allocations: 1.457 MB / 1.567 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.221e-05/0.9197, allocations: 15.98 kB / 1.567 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.9197, allocations: 0 / 1.567 GB, free: 12.27 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.9197, allocations: 7.984 kB / 1.567 GB, free: 12.26 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008344/0.928, allocations: 3.171 MB / 1.57 GB, free: 9.004 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/0.928, allocations: 4 kB / 1.57 GB, free: 9 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006312/0.9287, allocations: 132.1 kB / 1.57 GB, free: 8.871 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001559/0.9302, allocations: 417.1 kB / 1.57 GB, free: 8.457 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.199e-05/0.9303, allocations: 27.97 kB / 1.57 GB, free: 8.43 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002861/0.9332, allocations: 1.569 MB / 1.572 GB, free: 6.809 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/0.9332, allocations: 7.984 kB / 1.572 GB, free: 6.801 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/0.9395, allocations: 1.899 MB / 1.574 GB, free: 4.84 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/0.941, allocations: 364.2 kB / 1.574 GB, free: 4.48 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002465/0.9412, allocations: 19.94 kB / 1.574 GB, free: 4.461 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.9426, allocations: 124 kB / 1.574 GB, free: 4.34 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.9427, allocations: 63.77 kB / 1.574 GB, free: 4.277 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.151e-05/0.9428, allocations: 43.97 kB / 1.574 GB, free: 4.234 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002825/0.9456, allocations: 1.372 MB / 1.576 GB, free: 2.844 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9456, allocations: 0 / 1.576 GB, free: 2.844 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.00279/0.9484, allocations: 0.7403 MB / 1.576 GB, free: 2.102 MB / 1.264 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.00142/0.9499, allocations: 0.6022 MB / 1.577 GB, free: 1.488 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004655/0.9545, allocations: 1.318 MB / 1.578 GB, free: 180 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.9545, allocations: 0 / 1.578 GB, free: 180 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002513/0.957, allocations: 0.6407 MB / 1.579 GB, free: 15.53 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/0.9615, allocations: 0.8658 MB / 1.58 GB, free: 14.68 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007602/0.9691, allocations: 3.541 MB / 1.583 GB, free: 11.07 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001163/0.9702, allocations: 0.9194 MB / 1.584 GB, free: 10.11 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001553/0.9718, allocations: 367.5 kB / 1.584 GB, free: 9.75 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.9722, allocations: 135.4 kB / 1.585 GB, free: 9.617 MB / 1.279 GB Notification: Performance of SimCode: time 1.243e-06/0.9722, allocations: 0 / 1.585 GB, free: 9.617 MB / 1.279 GB Notification: Performance of Templates: time 1.046/2.018, allocations: 44.41 MB / 1.628 GB, free: 231.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.430865474045277]