Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000971/0.000971, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.000945/0.000945, allocations: 165 kB / 24.27 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 0.9648/0.9648, allocations: 177.1 MB / 204.6 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.806/1.806, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.465e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05393/0.05395, allocations: 73.54 MB / 0.8589 GB, free: 3.117 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.01996/0.07391, allocations: 19.58 MB / 0.878 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002344/0.07626, allocations: 99.12 kB / 0.8781 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002054/0.07831, allocations: 0.8265 MB / 0.8789 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00634/0.08465, allocations: 3.124 MB / 0.882 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.08822, allocations: 1.761 MB / 0.8837 GB, free: 9.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.004893/0.09312, allocations: 4.103 MB / 0.8877 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001809/0.09493, allocations: 1.189 MB / 0.8889 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.09883, allocations: 2.441 MB / 0.8912 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1004, allocations: 1.059 MB / 0.8923 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0002422/0.1006, allocations: 172 kB / 0.8924 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002275/0.1029, allocations: 1.173 MB / 0.8936 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003014/0.1032, allocations: 406.4 kB / 0.894 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006467/0.1038, allocations: 0.6079 MB / 0.8946 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003455/0.1073, allocations: 2.017 MB / 0.8965 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.463e-06/0.1073, allocations: 0 / 0.8965 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1073, allocations: 0 / 0.8965 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.329e-05/0.1073, allocations: 0 / 0.8965 GB, free: 12.44 MB / 0.8542 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.002597/0.1099, allocations: 2.115 MB / 0.8986 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.11, allocations: 8.031 kB / 0.8986 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00119/0.1112, allocations: 479.5 kB / 0.8991 GB, free: 9.793 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001991/0.1131, allocations: 1.605 MB / 0.9006 GB, free: 8.137 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.672e-05/0.1132, allocations: 82.03 kB / 0.9007 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1133, allocations: 111.9 kB / 0.9008 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1147, allocations: 1.096 MB / 0.9019 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.942e-05/0.1147, allocations: 3.938 kB / 0.9019 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1148, allocations: 44 kB / 0.9019 GB, free: 6.641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.1148, allocations: 32 kB / 0.902 GB, free: 6.609 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008033/0.1156, allocations: 463.4 kB / 0.9024 GB, free: 6.16 MB / 0.8542 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.00554/0.1212, allocations: 6.268 MB / 0.9085 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.1224, allocations: 476.9 kB / 0.909 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.1226, allocations: 113.1 kB / 0.9091 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.123, allocations: 164.4 kB / 0.9092 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.123, allocations: 41.89 kB / 0.9093 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=48): time 4.939e-06/0.123, allocations: 0 / 0.9093 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001888/0.1249, allocations: 0.7339 MB / 0.91 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/0.1249, allocations: 59.84 kB / 0.9101 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.126, allocations: 1.054 MB / 0.9111 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1261, allocations: 37.7 kB / 0.9111 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.1265, allocations: 0.7571 MB / 0.9119 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.1266, allocations: 178.5 kB / 0.912 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.1268, allocations: 180.2 kB / 0.9122 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1269, allocations: 0.5004 MB / 0.9127 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.1271, allocations: 109.9 kB / 0.9128 GB, free: 11.25 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006557/0.1278, allocations: 0.8505 MB / 0.9136 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.1284, allocations: 0.6076 MB / 0.9142 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1284, allocations: 4 kB / 0.9142 GB, free: 9.375 MB / 0.8698 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001043/0.1295, allocations: 0.6997 MB / 0.9149 GB, free: 8.664 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1295, allocations: 8 kB / 0.9149 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.1295, allocations: 8 kB / 0.9149 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004983/0.13, allocations: 167.6 kB / 0.9151 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/0.1304, allocations: 171.7 kB / 0.9152 GB, free: 8.312 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004611/0.1308, allocations: 0.878 MB / 0.9161 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.1314, allocations: 131.4 kB / 0.9162 GB, free: 7.273 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.331e-05/0.1315, allocations: 39.98 kB / 0.9163 GB, free: 7.234 MB / 0.8698 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.0002705/0.1317, allocations: 212.3 kB / 0.9165 GB, free: 7.016 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.1319, allocations: 139.2 kB / 0.9166 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.1329, allocations: 0.7726 MB / 0.9174 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.133, allocations: 11.94 kB / 0.9174 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.133, allocations: 0 / 0.9174 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.133, allocations: 3.984 kB / 0.9174 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.1353, allocations: 1.729 MB / 0.9191 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1353, allocations: 0 / 0.9191 GB, free: 4.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/0.1354, allocations: 87.77 kB / 0.9191 GB, free: 4.195 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003873/0.1358, allocations: 159.6 kB / 0.9193 GB, free: 4.035 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.069e-05/0.1359, allocations: 15.98 kB / 0.9193 GB, free: 4.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006716/0.1365, allocations: 0.9054 MB / 0.9202 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1365, allocations: 4 kB / 0.9202 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1377, allocations: 0.8398 MB / 0.921 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.138, allocations: 246.8 kB / 0.9213 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.1381, allocations: 12 kB / 0.9213 GB, free: 1.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003105/0.1384, allocations: 43.95 kB / 0.9213 GB, free: 1.895 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.1385, allocations: 52.3 kB / 0.9214 GB, free: 1.844 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.1386, allocations: 27.98 kB / 0.9214 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006741/0.1392, allocations: 0.6404 MB / 0.922 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1392, allocations: 0 / 0.922 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001091/0.1403, allocations: 482.7 kB / 0.9225 GB, free: 0.6992 MB / 0.8698 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.0006525/0.141, allocations: 473.5 kB / 0.9229 GB, free: 232 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008207/0.1418, allocations: 443.5 kB / 0.9233 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1418, allocations: 4 kB / 0.9234 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.1422, allocations: 253.5 kB / 0.9236 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.1434, allocations: 489.8 kB / 0.9241 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.1461, allocations: 2.053 MB / 0.9261 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.1463, allocations: 237.3 kB / 0.9263 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0005544/0.1468, allocations: 218.3 kB / 0.9265 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001696/0.147, allocations: 100.5 kB / 0.9266 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/0.147, allocations: 4 kB / 0.9266 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of Templates: time 0.03074/0.1777, allocations: 25.12 MB / 0.9511 GB, free: 3.73 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.5695310269948095]