Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001945/0.001945, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002387/0.002387, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.583/1.583, allocations: 230.5 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.415/3.415, allocations: 0.49 GB / 0.7915 GB, free: 33.5 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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_b.SGen_flow|chi_b.chi.sta_a1.T|chi_b.chi.sta_a2.T|chi_b.chi.sta_b1.T|chi_b.chi.sta_b2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [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.002139/0.002139, allocations: 72.45 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4361, allocations: 176.1 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08108/0.5172, allocations: 71.42 MB / 1.391 GB, free: 11.18 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.5461, allocations: 19.01 MB / 1.41 GB, free: 8.109 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003283/0.5493, allocations: 95.19 kB / 1.41 GB, free: 8.016 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002939/0.5523, allocations: 0.8501 MB / 1.41 GB, free: 7.16 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.009785/0.5621, allocations: 2.995 MB / 1.413 GB, free: 4.152 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.006686/0.5688, allocations: 1.673 MB / 1.415 GB, free: 2.488 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007258/0.576, allocations: 4.023 MB / 1.419 GB, free: 14.46 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.5787, allocations: 1.176 MB / 1.42 GB, free: 13.24 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005822/0.5845, allocations: 1.963 MB / 1.422 GB, free: 11.27 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002982/0.5875, allocations: 1.206 MB / 1.423 GB, free: 10.06 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007332/0.5882, allocations: 176 kB / 1.423 GB, free: 9.891 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004159/0.5924, allocations: 1.462 MB / 1.425 GB, free: 8.426 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0006695/0.593, allocations: 398.5 kB / 1.425 GB, free: 8.035 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.5945, allocations: 0.9293 MB / 1.426 GB, free: 7.102 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005634/0.6001, allocations: 3.146 MB / 1.429 GB, free: 3.945 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.6001, allocations: 0 / 1.429 GB, free: 3.945 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6001, allocations: 0 / 1.429 GB, free: 3.945 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.406e-05/0.6002, allocations: 0 / 1.429 GB, free: 3.945 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004641/0.6048, allocations: 2.091 MB / 1.431 GB, free: 1.789 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6049, allocations: 15.92 kB / 1.431 GB, free: 1.773 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/0.6073, allocations: 463.3 kB / 1.432 GB, free: 1.32 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003083/0.6104, allocations: 1.584 MB / 1.433 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6105, allocations: 78.03 kB / 1.433 GB, free: 15.6 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.6107, allocations: 100 kB / 1.433 GB, free: 15.5 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002807/0.6135, allocations: 1.315 MB / 1.435 GB, free: 14.08 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/0.6135, allocations: 3.938 kB / 1.435 GB, free: 14.07 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.6136, allocations: 44 kB / 1.435 GB, free: 14.03 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.914e-05/0.6137, allocations: 28 kB / 1.435 GB, free: 14 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.6165, allocations: 1.101 MB / 1.436 GB, free: 12.9 MB / 1.139 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.01058/0.6271, allocations: 7.516 MB / 1.443 GB, free: 4.871 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003468/0.6306, allocations: 0.7822 MB / 1.444 GB, free: 4.074 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.6312, allocations: 262 kB / 1.444 GB, free: 3.816 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/0.6327, allocations: 1.722 MB / 1.446 GB, free: 1.707 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.6328, allocations: 42.83 kB / 1.446 GB, free: 1.66 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 3.036e-06/0.6328, allocations: 0 / 1.446 GB, free: 1.66 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.005391/0.6382, allocations: 1.343 MB / 1.447 GB, free: 300 kB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.6382, allocations: 59.84 kB / 1.447 GB, free: 224 kB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.641, allocations: 1.55 MB / 1.449 GB, free: 14.66 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.097e-05/0.6411, allocations: 37.7 kB / 1.449 GB, free: 14.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00069/0.6418, allocations: 0.6857 MB / 1.449 GB, free: 13.93 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/0.642, allocations: 178.5 kB / 1.45 GB, free: 13.75 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.6423, allocations: 170.5 kB / 1.45 GB, free: 13.58 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6425, allocations: 334 kB / 1.45 GB, free: 13.25 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001074/0.6436, allocations: 365.8 kB / 1.45 GB, free: 12.89 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001408/0.645, allocations: 0.6661 MB / 1.451 GB, free: 12.1 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.647, allocations: 0.8828 MB / 1.452 GB, free: 11.11 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.647, allocations: 3.938 kB / 1.452 GB, free: 11.11 MB / 1.154 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003376/0.6504, allocations: 1.194 MB / 1.453 GB, free: 9.902 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.6504, allocations: 11.98 kB / 1.453 GB, free: 9.891 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.6505, allocations: 8 kB / 1.453 GB, free: 9.883 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.6515, allocations: 216.7 kB / 1.453 GB, free: 9.668 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008497/0.6523, allocations: 191.7 kB / 1.454 GB, free: 9.48 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001012/0.6533, allocations: 0.7239 MB / 1.454 GB, free: 8.73 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001673/0.655, allocations: 227 kB / 1.454 GB, free: 8.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.6551, allocations: 43.98 kB / 1.455 GB, free: 8.465 MB / 1.154 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006779/0.6558, allocations: 357.5 kB / 1.455 GB, free: 8.105 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002896/0.6561, allocations: 159 kB / 1.455 GB, free: 7.949 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002699/0.6588, allocations: 1.145 MB / 1.456 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/0.6588, allocations: 8 kB / 1.456 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.6588, allocations: 0 / 1.456 GB, free: 6.781 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.6588, allocations: 3.984 kB / 1.456 GB, free: 6.777 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005916/0.6647, allocations: 2.514 MB / 1.459 GB, free: 4.184 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6647, allocations: 8.016 kB / 1.459 GB, free: 4.176 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.6651, allocations: 83.89 kB / 1.459 GB, free: 4.094 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008315/0.666, allocations: 208.6 kB / 1.459 GB, free: 3.887 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/0.666, allocations: 23.98 kB / 1.459 GB, free: 3.863 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.6675, allocations: 0.7708 MB / 1.46 GB, free: 3.066 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.6675, allocations: 8.031 kB / 1.46 GB, free: 3.059 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/0.6714, allocations: 1.208 MB / 1.461 GB, free: 1.809 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007089/0.6721, allocations: 363.7 kB / 1.461 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.6723, allocations: 15.98 kB / 1.461 GB, free: 1.418 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009517/0.6733, allocations: 67.92 kB / 1.461 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.6734, allocations: 48.44 kB / 1.461 GB, free: 1.301 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.528e-05/0.6734, allocations: 31.98 kB / 1.461 GB, free: 1.27 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002003/0.6754, allocations: 1.086 MB / 1.462 GB, free: 192 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6754, allocations: 192 / 1.462 GB, free: 192 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.001491/0.6769, allocations: 451.1 kB / 1.463 GB, free: 15.74 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 Backend phase and start with SimCode phase: time 0.0009264/0.6779, allocations: 466.1 kB / 1.463 GB, free: 15.28 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.002436/0.6803, allocations: 0.8213 MB / 1.464 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/0.6803, allocations: 4 kB / 1.464 GB, free: 14.46 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.6818, allocations: 411.6 kB / 1.464 GB, free: 14.06 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.6851, allocations: 0.743 MB / 1.465 GB, free: 13.32 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00451/0.6896, allocations: 2.301 MB / 1.467 GB, free: 10.97 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009654/0.6906, allocations: 1.168 MB / 1.469 GB, free: 9.77 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001238/0.6918, allocations: 275.5 kB / 1.469 GB, free: 9.5 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.6922, allocations: 119.3 kB / 1.469 GB, free: 9.383 MB / 1.17 GB Notification: Performance of SimCode: time 2.084e-06/0.6922, allocations: 0 / 1.469 GB, free: 9.383 MB / 1.17 GB Notification: Performance of Templates: time 0.06229/0.7544, allocations: 31.98 MB / 1.5 GB, free: 9.754 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 10.6647969908081]