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.00105/0.00105, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001243/0.001243, allocations: 181 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 1.119/1.119, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.482/2.482, allocations: 438.8 MB / 0.6827 GB, free: 13.61 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.383e-06/1.383e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.266e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01555/0.01558, allocations: 18.63 MB / 0.8568 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01249/0.02807, allocations: 8.199 MB / 0.8648 GB, free: 3.277 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002299/0.03037, allocations: 103.1 kB / 0.8649 GB, free: 3.176 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.03157, allocations: 448.4 kB / 0.8653 GB, free: 2.734 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.03538, allocations: 1.764 MB / 0.8671 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003398/0.03878, allocations: 1.904 MB / 0.8689 GB, free: 15.05 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.004766/0.04354, allocations: 4.067 MB / 0.8729 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.04586, allocations: 1.186 MB / 0.8741 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.04949, allocations: 1.963 MB / 0.876 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.05114, allocations: 0.9463 MB / 0.8769 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0002916/0.05143, allocations: 176 kB / 0.8771 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001494/0.05292, allocations: 0.6824 MB / 0.8777 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.05324, allocations: 418.3 kB / 0.8781 GB, free: 5.586 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0007568/0.054, allocations: 0.6196 MB / 0.8787 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.002513/0.05651, allocations: 1.678 MB / 0.8804 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.05652, allocations: 4 kB / 0.8804 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/0.05652, allocations: 0 / 0.8804 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.187e-05/0.05655, allocations: 4 kB / 0.8804 GB, free: 3.273 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.002311/0.05886, allocations: 1.971 MB / 0.8823 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.0589, allocations: 8.625 kB / 0.8823 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009634/0.05986, allocations: 400.2 kB / 0.8827 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/0.0613, allocations: 1.02 MB / 0.8837 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.435e-05/0.06135, allocations: 90.03 kB / 0.8838 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.311e-05/0.06145, allocations: 112 kB / 0.8839 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.0625, allocations: 0.9864 MB / 0.8848 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.06252, allocations: 0 / 0.8848 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.768e-05/0.06257, allocations: 47.94 kB / 0.8849 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.0626, allocations: 24 kB / 0.8849 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.06311, allocations: 368.3 kB / 0.8853 GB, free: 14.03 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.00391/0.06702, allocations: 4.286 MB / 0.8894 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007968/0.06781, allocations: 424.7 kB / 0.8899 GB, free: 9.188 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.06793, allocations: 85.16 kB / 0.8899 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.06807, allocations: 64.45 kB / 0.89 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.0681, allocations: 39.06 kB / 0.89 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=48): time 3.126e-06/0.0681, allocations: 0 / 0.89 GB, free: 8.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=48): time 0.001281/0.06939, allocations: 0.5648 MB / 0.8906 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.06941, allocations: 55.91 kB / 0.8906 GB, free: 8.348 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009817/0.07039, allocations: 1.027 MB / 0.8916 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.07044, allocations: 37.7 kB / 0.8917 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.07072, allocations: 0.573 MB / 0.8922 GB, free: 6.668 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.917e-05/0.07082, allocations: 174.5 kB / 0.8924 GB, free: 6.496 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.07101, allocations: 198.5 kB / 0.8926 GB, free: 6.297 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.493e-05/0.07109, allocations: 341.9 kB / 0.8929 GB, free: 5.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.0713, allocations: 108.8 kB / 0.893 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.07177, allocations: 0.8425 MB / 0.8938 GB, free: 4.734 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/0.07231, allocations: 0.6249 MB / 0.8945 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.07232, allocations: 4 kB / 0.8945 GB, free: 3.934 MB / 0.8542 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.0008111/0.07313, allocations: 0.6061 MB / 0.8951 GB, free: 3.32 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.07316, allocations: 12 kB / 0.8951 GB, free: 3.309 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.07317, allocations: 12 kB / 0.8951 GB, free: 3.297 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/0.07363, allocations: 181 kB / 0.8952 GB, free: 3.117 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.07406, allocations: 215.7 kB / 0.8955 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003537/0.07441, allocations: 0.5951 MB / 0.896 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/0.07502, allocations: 155.3 kB / 0.8962 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.0751, allocations: 47.92 kB / 0.8962 GB, free: 2.086 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.0003131/0.07541, allocations: 176.3 kB / 0.8964 GB, free: 1.902 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.07552, allocations: 87.95 kB / 0.8965 GB, free: 1.816 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008221/0.07634, allocations: 0.6422 MB / 0.8971 GB, free: 1.156 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.07635, allocations: 12 kB / 0.8971 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.07636, allocations: 3.938 kB / 0.8971 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.07636, allocations: 3.984 kB / 0.8971 GB, free: 1.137 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.07825, allocations: 1.304 MB / 0.8984 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.07825, allocations: 4 kB / 0.8984 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.07843, allocations: 83.83 kB / 0.8985 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003776/0.07881, allocations: 164.8 kB / 0.8986 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.07884, allocations: 23.92 kB / 0.8987 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003971/0.07924, allocations: 0.603 MB / 0.8993 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.07924, allocations: 0 / 0.8993 GB, free: 14.88 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008619/0.0801, allocations: 0.6573 MB / 0.8999 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.08036, allocations: 174.9 kB / 0.9001 GB, free: 14 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.185e-05/0.08044, allocations: 19.98 kB / 0.9001 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.08073, allocations: 39.97 kB / 0.9001 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.08079, allocations: 48.3 kB / 0.9002 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.08083, allocations: 23.98 kB / 0.9002 GB, free: 13.87 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.000451/0.08128, allocations: 0.502 MB / 0.9007 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.71e-07/0.08128, allocations: 0 / 0.9007 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0008423/0.08212, allocations: 411 kB / 0.9011 GB, free: 12.96 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.0003415/0.08247, allocations: 201.9 kB / 0.9013 GB, free: 12.75 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005946/0.08306, allocations: 425.7 kB / 0.9017 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/0.08308, allocations: 16.5 kB / 0.9017 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003391/0.08342, allocations: 207.2 kB / 0.9019 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001092/0.08451, allocations: 497.4 kB / 0.9024 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002759/0.08727, allocations: 2.101 MB / 0.9044 GB, free: 9.473 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/0.08743, allocations: 241.5 kB / 0.9046 GB, free: 9.215 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006247/0.08806, allocations: 205.9 kB / 0.9048 GB, free: 9.012 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007367/0.0888, allocations: 434.9 kB / 0.9052 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of SimCode: time 1.713e-06/0.0888, allocations: 0 / 0.9052 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of Templates: time 0.0307/0.1195, allocations: 24.09 MB / 0.9288 GB, free: 1.02 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 -s gbode -gbm=radauIIA3 -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: 6.071672562044114]