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.001443/0.001443, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 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.001628/0.001628, allocations: 169.3 kB / 24.28 MB, free: 276 kB / 18.57 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.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.88/1.88, allocations: 377.8 MB / 0.6239 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0.9844 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.686e-05/1.841e-05, allocations: 3.031 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04904/0.04905, allocations: 73.62 MB / 0.8834 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01852/0.06758, allocations: 19.57 MB / 0.9025 GB, free: 4.633 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.06957, allocations: 95.19 kB / 0.9026 GB, free: 4.539 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.07125, allocations: 0.8304 MB / 0.9034 GB, free: 3.703 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.005429/0.07667, allocations: 3.097 MB / 0.9065 GB, free: 0.5898 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.07945, allocations: 1.767 MB / 0.9082 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.003384/0.08283, allocations: 4.088 MB / 0.9122 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001156/0.08399, allocations: 1.177 MB / 0.9133 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002885/0.08687, allocations: 2.569 MB / 0.9158 GB, free: 6.938 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.08802, allocations: 1.034 MB / 0.9168 GB, free: 5.902 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001902/0.08821, allocations: 176 kB / 0.917 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002033/0.09025, allocations: 1.165 MB / 0.9182 GB, free: 4.562 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002839/0.09053, allocations: 414.4 kB / 0.9185 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005591/0.09109, allocations: 0.6079 MB / 0.9191 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002434/0.09352, allocations: 2.021 MB / 0.9211 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.09353, allocations: 0 / 0.9211 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.09353, allocations: 0 / 0.9211 GB, free: 1.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.09355, allocations: 0 / 0.9211 GB, free: 1.52 MB / 0.8698 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.002463/0.09601, allocations: 2.1 MB / 0.9232 GB, free: 15.37 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.09606, allocations: 11.97 kB / 0.9232 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.09721, allocations: 483.5 kB / 0.9236 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/0.09895, allocations: 1.605 MB / 0.9252 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.09901, allocations: 86.02 kB / 0.9253 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.09911, allocations: 107.9 kB / 0.9254 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.1004, allocations: 1.092 MB / 0.9265 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/0.1004, allocations: 11.94 kB / 0.9265 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.931e-05/0.1005, allocations: 44 kB / 0.9265 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.1005, allocations: 24 kB / 0.9265 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007961/0.1013, allocations: 475.3 kB / 0.927 GB, free: 11.24 MB / 0.8855 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.004445/0.1057, allocations: 6.283 MB / 0.9331 GB, free: 4.777 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.1069, allocations: 468.6 kB / 0.9336 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001739/0.107, allocations: 121.1 kB / 0.9337 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.1073, allocations: 160.4 kB / 0.9338 GB, free: 4.031 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1074, allocations: 37.89 kB / 0.9339 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 1.944e-06/0.1074, allocations: 4 kB / 0.9339 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001665/0.109, allocations: 0.7339 MB / 0.9346 GB, free: 3.238 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.485e-05/0.1091, allocations: 67.84 kB / 0.9347 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.1101, allocations: 1.05 MB / 0.9357 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.1101, allocations: 37.7 kB / 0.9357 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.1105, allocations: 0.7571 MB / 0.9365 GB, free: 1.293 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.679e-05/0.1106, allocations: 174.5 kB / 0.9366 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001955/0.1108, allocations: 188.2 kB / 0.9368 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1109, allocations: 0.5004 MB / 0.9373 GB, free: 432 kB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002179/0.1112, allocations: 101.9 kB / 0.9374 GB, free: 332 kB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/0.1117, allocations: 0.8506 MB / 0.9382 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/0.1123, allocations: 0.5998 MB / 0.9388 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1123, allocations: 0 / 0.9388 GB, free: 14.46 MB / 0.9011 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001001/0.1133, allocations: 0.7034 MB / 0.9395 GB, free: 13.75 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.1134, allocations: 8 kB / 0.9395 GB, free: 13.74 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.1134, allocations: 8 kB / 0.9395 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/0.1138, allocations: 163.8 kB / 0.9397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1142, allocations: 183.8 kB / 0.9398 GB, free: 13.39 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004869/0.1147, allocations: 0.8702 MB / 0.9407 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004994/0.1152, allocations: 131.4 kB / 0.9408 GB, free: 12.36 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.514e-05/0.1152, allocations: 43.98 kB / 0.9409 GB, free: 12.31 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (83): * Single equations (assignments): 82 * 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.0002361/0.1155, allocations: 208.2 kB / 0.9411 GB, free: 12.1 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.1156, allocations: 147.2 kB / 0.9412 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001164/0.1168, allocations: 0.768 MB / 0.9419 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.739e-05/0.1168, allocations: 15.92 kB / 0.942 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1168, allocations: 0 / 0.942 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1168, allocations: 3.984 kB / 0.942 GB, free: 11.15 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.1196, allocations: 1.725 MB / 0.9437 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/0.1196, allocations: 0 / 0.9437 GB, free: 9.355 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000238/0.1199, allocations: 83.83 kB / 0.9437 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.1203, allocations: 159.6 kB / 0.9439 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.1204, allocations: 27.92 kB / 0.9439 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006452/0.121, allocations: 0.9015 MB / 0.9448 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.121, allocations: 3.984 kB / 0.9448 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.1225, allocations: 0.8398 MB / 0.9456 GB, free: 7.262 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003536/0.1228, allocations: 242.8 kB / 0.9458 GB, free: 7.023 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.123, allocations: 16 kB / 0.9459 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000426/0.1234, allocations: 43.95 kB / 0.9459 GB, free: 6.965 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.1235, allocations: 48.3 kB / 0.9459 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.1235, allocations: 27.98 kB / 0.946 GB, free: 6.891 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0008017/0.1243, allocations: 0.6443 MB / 0.9466 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1243, allocations: 0 / 0.9466 GB, free: 6.242 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001118/0.1255, allocations: 478.7 kB / 0.9471 GB, free: 5.773 MB / 0.9011 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.0006767/0.1261, allocations: 482.2 kB / 0.9475 GB, free: 5.293 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008862/0.127, allocations: 442.8 kB / 0.9479 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.127, allocations: 0 / 0.9479 GB, free: 4.855 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000531/0.1276, allocations: 250.3 kB / 0.9482 GB, free: 4.609 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001485/0.129, allocations: 485.4 kB / 0.9486 GB, free: 4.141 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.1323, allocations: 2.059 MB / 0.9507 GB, free: 2.016 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1325, allocations: 241.3 kB / 0.9509 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0006225/0.1331, allocations: 225.3 kB / 0.9511 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001991/0.1333, allocations: 96.47 kB / 0.9512 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of SimCode: time 8.21e-07/0.1333, allocations: 4 kB / 0.9512 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of Templates: time 0.03479/0.1681, allocations: 25.13 MB / 0.9757 GB, free: 8.785 MB / 0.9323 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.74926333501935]