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.001736/0.001736, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002239/0.002239, allocations: 210 kB / 22.99 MB, free: 4.984 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.651/1.651, 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.689/3.689, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.002102/0.002102, allocations: 74.3 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5043/0.5064, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07944/0.5858, allocations: 65.18 MB / 1.391 GB, free: 15.61 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.02814/0.614, allocations: 17.56 MB / 1.408 GB, free: 14 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003405/0.6174, allocations: 95.19 kB / 1.408 GB, free: 13.9 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002821/0.6202, allocations: 0.8267 MB / 1.409 GB, free: 13.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.631, allocations: 3.025 MB / 1.412 GB, free: 10.03 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.00536/0.6363, allocations: 1.7 MB / 1.413 GB, free: 8.34 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007403/0.6437, allocations: 4.077 MB / 1.417 GB, free: 4.254 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002485/0.6462, allocations: 1.153 MB / 1.418 GB, free: 3.062 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006088/0.6523, allocations: 2.004 MB / 1.42 GB, free: 1.055 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002996/0.6553, allocations: 1.21 MB / 1.422 GB, free: 15.84 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.6557, allocations: 180 kB / 1.422 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.6592, allocations: 1.178 MB / 1.423 GB, free: 14.48 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005685/0.6598, allocations: 394.5 kB / 1.423 GB, free: 14.1 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001393/0.6612, allocations: 0.7155 MB / 1.424 GB, free: 13.38 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.006347/0.6675, allocations: 3.103 MB / 1.427 GB, free: 10.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.6675, allocations: 0 / 1.427 GB, free: 10.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.164e-06/0.6675, allocations: 0 / 1.427 GB, free: 10.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 3.61e-05/0.6675, allocations: 0 / 1.427 GB, free: 10.27 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.004219/0.6718, allocations: 2.011 MB / 1.429 GB, free: 8.207 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.6718, allocations: 12.03 kB / 1.429 GB, free: 8.195 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.6741, allocations: 455.4 kB / 1.429 GB, free: 7.75 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.6773, allocations: 1.523 MB / 1.431 GB, free: 6.176 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.69e-05/0.6774, allocations: 81.97 kB / 1.431 GB, free: 6.094 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001622/0.6776, allocations: 108 kB / 1.431 GB, free: 5.988 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.6805, allocations: 1.413 MB / 1.433 GB, free: 4.441 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.262e-05/0.6805, allocations: 7.938 kB / 1.433 GB, free: 4.434 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.6806, allocations: 51.98 kB / 1.433 GB, free: 4.383 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.6806, allocations: 24 kB / 1.433 GB, free: 4.359 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002801/0.6834, allocations: 1.093 MB / 1.434 GB, free: 3.262 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.008867/0.6923, allocations: 5.417 MB / 1.439 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003178/0.6955, allocations: 0.7646 MB / 1.44 GB, free: 12.93 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006405/0.6961, allocations: 270 kB / 1.44 GB, free: 12.66 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.6967, allocations: 156.3 kB / 1.44 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.6967, allocations: 39 kB / 1.44 GB, free: 12.46 MB / 1.139 GB Notification: Performance of pre-optimization done (n=48): time 5.08e-06/0.6968, allocations: 3.984 kB / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of matching and sorting (n=48): time 0.004918/0.7017, allocations: 1.24 MB / 1.441 GB, free: 11.2 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.7017, allocations: 55.84 kB / 1.441 GB, free: 11.14 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/0.7042, allocations: 1.224 MB / 1.443 GB, free: 9.902 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.7043, allocations: 37.7 kB / 1.443 GB, free: 9.859 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007585/0.705, allocations: 0.711 MB / 1.443 GB, free: 9.141 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002404/0.7053, allocations: 182.5 kB / 1.444 GB, free: 8.961 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003564/0.7056, allocations: 166.5 kB / 1.444 GB, free: 8.793 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0002286/0.7059, allocations: 337.9 kB / 1.444 GB, free: 8.457 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.7069, allocations: 369.8 kB / 1.444 GB, free: 8.094 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00158/0.7085, allocations: 0.9808 MB / 1.445 GB, free: 6.906 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.7104, allocations: 0.8897 MB / 1.446 GB, free: 5.91 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.7104, allocations: 0 / 1.446 GB, free: 5.91 MB / 1.139 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003094/0.7135, allocations: 1.169 MB / 1.447 GB, free: 4.73 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.7135, allocations: 12.03 kB / 1.447 GB, free: 4.719 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.7135, allocations: 8 kB / 1.447 GB, free: 4.711 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009663/0.7145, allocations: 220.6 kB / 1.448 GB, free: 4.492 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.7153, allocations: 195.7 kB / 1.448 GB, free: 4.301 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009896/0.7163, allocations: 0.7278 MB / 1.448 GB, free: 3.547 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.7176, allocations: 163.5 kB / 1.449 GB, free: 3.387 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.7177, allocations: 47.97 kB / 1.449 GB, free: 3.34 MB / 1.139 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.0007309/0.7185, allocations: 357.6 kB / 1.449 GB, free: 2.98 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002353/0.7187, allocations: 127.2 kB / 1.449 GB, free: 2.855 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002494/0.7212, allocations: 1.13 MB / 1.45 GB, free: 1.707 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-05/0.7212, allocations: 12 kB / 1.45 GB, free: 1.695 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.7212, allocations: 3.984 kB / 1.45 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7212, allocations: 0 / 1.45 GB, free: 1.691 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005279/0.7265, allocations: 2.196 MB / 1.452 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.7265, allocations: 0 / 1.452 GB, free: 15.44 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.7269, allocations: 87.88 kB / 1.452 GB, free: 15.35 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007564/0.7276, allocations: 212.8 kB / 1.453 GB, free: 15.14 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.7277, allocations: 16 kB / 1.453 GB, free: 15.12 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.729, allocations: 0.7747 MB / 1.453 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.729, allocations: 0 / 1.453 GB, free: 14.32 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.7325, allocations: 1.194 MB / 1.455 GB, free: 13.09 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/0.7331, allocations: 246.8 kB / 1.455 GB, free: 12.85 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.7333, allocations: 8 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.734, allocations: 75.86 kB / 1.455 GB, free: 12.77 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.7341, allocations: 40.42 kB / 1.455 GB, free: 12.73 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.7342, allocations: 23.98 kB / 1.455 GB, free: 12.71 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001553/0.7357, allocations: 0.8551 MB / 1.456 GB, free: 11.85 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7357, allocations: 0 / 1.456 GB, free: 11.85 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001643/0.7374, allocations: 482.7 kB / 1.456 GB, free: 11.38 MB / 1.154 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.000936/0.7383, allocations: 462.9 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002314/0.7406, allocations: 0.8327 MB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7406, allocations: 0 / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.7419, allocations: 427.3 kB / 1.458 GB, free: 9.672 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.744, allocations: 470.6 kB / 1.458 GB, free: 9.223 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.7486, allocations: 2.261 MB / 1.461 GB, free: 6.906 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007109/0.7493, allocations: 0.5825 MB / 1.461 GB, free: 6.289 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0009276/0.7503, allocations: 229.3 kB / 1.461 GB, free: 6.062 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002527/0.7505, allocations: 103.4 kB / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of SimCode: time 1.292e-06/0.7505, allocations: 0 / 1.461 GB, free: 5.961 MB / 1.154 GB Notification: Performance of Templates: time 0.05243/0.8029, allocations: 27.47 MB / 1.488 GB, free: 10.96 MB / 1.186 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 -s cvode -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/jenkins1/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: 11.627866590977646]