Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.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.001787/0.001787, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002411/0.002411, allocations: 210.2 kB / 23 MB, free: 4.934 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.628/1.628, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.379/3.379, allocations: 0.49 GB / 0.7959 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.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y") [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.002079/0.002079, allocations: 66.98 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4751, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08729/0.5624, allocations: 69.36 MB / 1.395 GB, free: 11.4 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0237/0.5861, allocations: 11.87 MB / 1.406 GB, free: 15.5 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.5902, allocations: 95.19 kB / 1.407 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00329/0.5935, allocations: 0.8268 MB / 1.407 GB, free: 14.58 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01244/0.6059, allocations: 2.629 MB / 1.41 GB, free: 11.94 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007697/0.6136, allocations: 1.438 MB / 1.411 GB, free: 10.51 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.625, allocations: 4.49 MB / 1.416 GB, free: 6.012 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003014/0.628, allocations: 1.133 MB / 1.417 GB, free: 4.836 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006895/0.6349, allocations: 1.93 MB / 1.419 GB, free: 2.906 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003565/0.6384, allocations: 1.229 MB / 1.42 GB, free: 1.672 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.000461/0.6389, allocations: 160 kB / 1.42 GB, free: 1.516 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.6434, allocations: 1.162 MB / 1.421 GB, free: 360 kB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0008174/0.6443, allocations: 418.4 kB / 1.422 GB, free: 15.94 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001728/0.646, allocations: 0.7271 MB / 1.422 GB, free: 15.21 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.007572/0.6536, allocations: 2.869 MB / 1.425 GB, free: 12.33 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6536, allocations: 4 kB / 1.425 GB, free: 12.33 MB / 1.123 GB Notification: Performance of FrontEnd: time 3.547e-06/0.6536, allocations: 0 / 1.425 GB, free: 12.33 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.157e-05/0.6537, allocations: 0 / 1.425 GB, free: 12.33 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.008364/0.662, allocations: 2.056 MB / 1.427 GB, free: 10.22 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.544e-05/0.6621, allocations: 12.03 kB / 1.427 GB, free: 10.21 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.6636, allocations: 231.7 kB / 1.427 GB, free: 9.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005635/0.6693, allocations: 1.485 MB / 1.429 GB, free: 8.453 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.6694, allocations: 74 kB / 1.429 GB, free: 8.379 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.6698, allocations: 107.9 kB / 1.429 GB, free: 8.273 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003679/0.6735, allocations: 1.251 MB / 1.43 GB, free: 6.953 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.132e-05/0.6735, allocations: 0 / 1.43 GB, free: 6.953 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.6736, allocations: 51.88 kB / 1.43 GB, free: 6.902 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.6737, allocations: 31.92 kB / 1.43 GB, free: 6.871 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002134/0.6758, allocations: 0.8822 MB / 1.431 GB, free: 5.984 MB / 1.123 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.007093/0.6829, allocations: 3.469 MB / 1.434 GB, free: 2.445 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.6844, allocations: 0.5816 MB / 1.435 GB, free: 1.855 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.6851, allocations: 315.9 kB / 1.435 GB, free: 1.547 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003548/0.6855, allocations: 88.38 kB / 1.435 GB, free: 1.461 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.6855, allocations: 39.06 kB / 1.435 GB, free: 1.414 MB / 1.123 GB Notification: Performance of pre-optimization done (n=61): time 3.697e-06/0.6855, allocations: 0 / 1.435 GB, free: 1.414 MB / 1.123 GB Notification: Performance of matching and sorting (n=61): time 0.007404/0.6929, allocations: 1.593 MB / 1.437 GB, free: 15.81 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.693, allocations: 59.91 kB / 1.437 GB, free: 15.74 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001579/0.6946, allocations: 1.041 MB / 1.438 GB, free: 14.68 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 9.645e-05/0.6947, allocations: 45.7 kB / 1.438 GB, free: 14.63 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/0.6953, allocations: 0.6297 MB / 1.439 GB, free: 14 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.6956, allocations: 226 kB / 1.439 GB, free: 13.77 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003902/0.696, allocations: 158.6 kB / 1.439 GB, free: 13.61 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001981/0.6962, allocations: 326 kB / 1.439 GB, free: 13.29 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008343/0.697, allocations: 292.7 kB / 1.44 GB, free: 13 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.6982, allocations: 0.8607 MB / 1.441 GB, free: 11.97 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001538/0.6998, allocations: 0.7133 MB / 1.441 GB, free: 11.21 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6998, allocations: 4 kB / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005155/0.7049, allocations: 1.262 MB / 1.442 GB, free: 9.93 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.7049, allocations: 4 kB / 1.442 GB, free: 9.926 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.705, allocations: 4 kB / 1.442 GB, free: 9.922 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006488/0.7056, allocations: 137.1 kB / 1.443 GB, free: 9.785 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006558/0.7063, allocations: 159.8 kB / 1.443 GB, free: 9.629 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/0.7073, allocations: 0.6967 MB / 1.443 GB, free: 8.906 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.7084, allocations: 87.52 kB / 1.444 GB, free: 8.82 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.482e-05/0.7084, allocations: 35.98 kB / 1.444 GB, free: 8.785 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/0.7097, allocations: 0.5526 MB / 1.444 GB, free: 8.227 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.711, allocations: 0.853 MB / 1.445 GB, free: 7.207 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001523/0.7125, allocations: 0.7093 MB / 1.446 GB, free: 6.449 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.995e-06/0.7125, allocations: 96 / 1.446 GB, free: 6.449 MB / 1.139 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004867/0.7174, allocations: 1.254 MB / 1.447 GB, free: 5.184 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.7174, allocations: 8 kB / 1.447 GB, free: 5.176 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.7174, allocations: 4 kB / 1.447 GB, free: 5.172 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005416/0.718, allocations: 136.8 kB / 1.447 GB, free: 5.035 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.7186, allocations: 159.8 kB / 1.447 GB, free: 4.879 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009135/0.7195, allocations: 0.6928 MB / 1.448 GB, free: 4.16 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.7205, allocations: 95.5 kB / 1.448 GB, free: 4.066 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.7206, allocations: 35.98 kB / 1.448 GB, free: 4.031 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.721, allocations: 222.5 kB / 1.448 GB, free: 3.809 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.7212, allocations: 119.2 kB / 1.448 GB, free: 3.691 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004718/0.726, allocations: 1.26 MB / 1.45 GB, free: 2.414 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004131/0.7301, allocations: 1.109 MB / 1.451 GB, free: 1.27 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.7301, allocations: 4 kB / 1.451 GB, free: 1.266 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000797/0.7309, allocations: 214.9 kB / 1.451 GB, free: 1.055 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.7311, allocations: 12 kB / 1.451 GB, free: 1.043 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.7317, allocations: 43.95 kB / 1.451 GB, free: 1 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.7318, allocations: 52.55 kB / 1.451 GB, free: 0.9492 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00284/0.7347, allocations: 0.9623 MB / 1.452 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002867/0.7375, allocations: 1.338 MB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007188/0.7382, allocations: 305 kB / 1.453 GB, free: 14.32 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0013/0.7395, allocations: 0.7318 MB / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of Backend: time 1.012e-06/0.7395, allocations: 0 / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004405/0.7439, allocations: 1.3 MB / 1.455 GB, free: 12.28 MB / 1.154 GB Notification: Performance of SimCode: time 0.006162/0.7501, allocations: 2.964 MB / 1.458 GB, free: 9.27 MB / 1.154 GB Notification: Performance of Templates: time 0.06251/0.8126, allocations: 32.79 MB / 1.49 GB, free: 8.941 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Examples.Carnot_y.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: 11.370615649000683]