Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001383/0.001383, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001815/0.001815, allocations: 177 kB / 23.36 MB, free: 1.137 MB / 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.9465/0.9465, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.44/2.44, allocations: 438.8 MB / 0.6827 GB, free: 13.56 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.193e-06/1.193e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.091e-05, allocations: 4.844 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0128/0.01281, allocations: 18.58 MB / 0.8567 GB, free: 11.53 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.008344/0.02115, allocations: 8.212 MB / 0.8647 GB, free: 3.293 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007568/0.02191, allocations: 103.1 kB / 0.8648 GB, free: 3.191 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.02282, allocations: 448.3 kB / 0.8653 GB, free: 2.75 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002091/0.02491, allocations: 1.764 MB / 0.867 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002277/0.02718, allocations: 1.921 MB / 0.8689 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003131/0.03031, allocations: 4.067 MB / 0.8728 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009513/0.03127, allocations: 1.186 MB / 0.874 GB, free: 9.746 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001764/0.03303, allocations: 2.041 MB / 0.876 GB, free: 7.711 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008236/0.03385, allocations: 0.9579 MB / 0.8769 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001451/0.034, allocations: 172 kB / 0.8771 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007475/0.03475, allocations: 0.6668 MB / 0.8777 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.03498, allocations: 414.3 kB / 0.8781 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0004441/0.03542, allocations: 0.6197 MB / 0.8787 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.03705, allocations: 1.682 MB / 0.8804 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.03706, allocations: 0 / 0.8804 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.03706, allocations: 0 / 0.8804 GB, free: 3.199 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.03707, allocations: 3.938 kB / 0.8804 GB, free: 3.195 MB / 0.8386 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.001738/0.0388, allocations: 1.967 MB / 0.8823 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.736e-05/0.03883, allocations: 8.625 kB / 0.8823 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008076/0.03964, allocations: 408.2 kB / 0.8827 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001118/0.04076, allocations: 1.02 MB / 0.8837 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.145e-05/0.04081, allocations: 86.03 kB / 0.8838 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/0.0409, allocations: 112 kB / 0.8839 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008695/0.04177, allocations: 0.9903 MB / 0.8849 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.04179, allocations: 0 / 0.8849 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.464e-05/0.04184, allocations: 44 kB / 0.8849 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.745e-05/0.04186, allocations: 28 kB / 0.8849 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004307/0.04229, allocations: 356.3 kB / 0.8853 GB, free: 13.96 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.003525/0.04582, allocations: 4.301 MB / 0.8895 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007092/0.04652, allocations: 410.4 kB / 0.8899 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.04663, allocations: 93.14 kB / 0.89 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.04675, allocations: 64.45 kB / 0.89 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.04677, allocations: 39.06 kB / 0.89 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 1.623e-06/0.04677, allocations: 0 / 0.89 GB, free: 8.906 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001133/0.0479, allocations: 0.5647 MB / 0.8906 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.544e-05/0.04793, allocations: 55.91 kB / 0.8907 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.04868, allocations: 1.027 MB / 0.8917 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.04871, allocations: 41.7 kB / 0.8917 GB, free: 7.168 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.04898, allocations: 0.569 MB / 0.8923 GB, free: 6.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.594e-05/0.04906, allocations: 178.5 kB / 0.8924 GB, free: 6.414 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.04924, allocations: 198.5 kB / 0.8926 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003262/0.04956, allocations: 345.9 kB / 0.8929 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.04975, allocations: 112.7 kB / 0.893 GB, free: 5.758 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.05019, allocations: 0.8387 MB / 0.8939 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004657/0.05066, allocations: 0.6288 MB / 0.8945 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.05066, allocations: 4 kB / 0.8945 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0006564/0.05132, allocations: 0.6065 MB / 0.8951 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.05134, allocations: 12 kB / 0.8951 GB, free: 3.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.05135, allocations: 12 kB / 0.8951 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.05174, allocations: 176.7 kB / 0.8953 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/0.05211, allocations: 199.6 kB / 0.8955 GB, free: 2.836 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003191/0.05243, allocations: 0.5913 MB / 0.896 GB, free: 2.219 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004561/0.05288, allocations: 151.3 kB / 0.8962 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.522e-05/0.05294, allocations: 47.92 kB / 0.8962 GB, free: 2.023 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (101): * Single equations (assignments): 100 * 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.0002/0.05314, allocations: 176.3 kB / 0.8964 GB, free: 1.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.05323, allocations: 95.89 kB / 0.8965 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007226/0.05396, allocations: 0.6382 MB / 0.8971 GB, free: 1.09 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.05397, allocations: 4 kB / 0.8971 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.05397, allocations: 8 kB / 0.8971 GB, free: 1.078 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.05398, allocations: 7.984 kB / 0.8971 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.05559, allocations: 1.308 MB / 0.8984 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.05559, allocations: 4 kB / 0.8984 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.05574, allocations: 67.91 kB / 0.8985 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003168/0.05606, allocations: 172.8 kB / 0.8986 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.403e-05/0.05609, allocations: 19.92 kB / 0.8987 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003644/0.05645, allocations: 0.6069 MB / 0.8993 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.05645, allocations: 0 / 0.8993 GB, free: 14.81 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.05748, allocations: 0.6573 MB / 0.8999 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.0577, allocations: 174.8 kB / 0.9001 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.05779, allocations: 12 kB / 0.9001 GB, free: 13.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.05806, allocations: 39.97 kB / 0.9001 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.05811, allocations: 52.34 kB / 0.9002 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.18e-05/0.05814, allocations: 23.98 kB / 0.9002 GB, free: 13.81 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003913/0.05853, allocations: 0.498 MB / 0.9007 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.05853, allocations: 0 / 0.9007 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000609/0.05914, allocations: 415 kB / 0.9011 GB, free: 12.89 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.0002688/0.05941, allocations: 209.8 kB / 0.9013 GB, free: 12.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004918/0.0599, allocations: 421.6 kB / 0.9017 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/0.05992, allocations: 13.38 kB / 0.9017 GB, free: 12.26 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002905/0.06021, allocations: 214.4 kB / 0.9019 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.06116, allocations: 484.6 kB / 0.9023 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.06329, allocations: 2.109 MB / 0.9044 GB, free: 9.41 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.06344, allocations: 237.5 kB / 0.9046 GB, free: 9.156 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003863/0.06383, allocations: 205.9 kB / 0.9048 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006373/0.06446, allocations: 442.9 kB / 0.9053 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of SimCode: time 5.61e-07/0.06446, allocations: 0 / 0.9053 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of Templates: time 0.02547/0.08993, allocations: 24.08 MB / 0.9288 GB, free: 0.957 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.749487307853997]