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.000995/0.000995, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001087/0.001087, allocations: 161 kB / 24.16 MB, free: 336 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.07/1.07, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.952/1.952, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.24e-05, allocations: 3 kB / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01552/0.01554, allocations: 18.51 MB / 0.7781 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02664, allocations: 7.176 MB / 0.7851 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.02888, allocations: 95.72 kB / 0.7852 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.0299, allocations: 442.2 kB / 0.7856 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003786/0.03369, allocations: 1.738 MB / 0.7873 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.03644, allocations: 1.541 MB / 0.7888 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004781/0.04122, allocations: 3.984 MB / 0.7927 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.04343, allocations: 1.195 MB / 0.7939 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.04648, allocations: 1.915 MB / 0.7958 GB, free: 2.016 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001542/0.04802, allocations: 0.943 MB / 0.7967 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.04837, allocations: 171.9 kB / 0.7969 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.05001, allocations: 0.6756 MB / 0.7975 GB, free: 232 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.05034, allocations: 402.4 kB / 0.7979 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007896/0.05113, allocations: 0.5932 MB / 0.7985 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.05337, allocations: 1.639 MB / 0.8001 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.05337, allocations: 0 / 0.8001 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.363e-06/0.05337, allocations: 0.8125 kB / 0.8001 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.148e-05/0.05343, allocations: 0 / 0.8001 GB, free: 13.59 MB / 0.7605 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.002623/0.05605, allocations: 1.898 MB / 0.8019 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.05609, allocations: 12.03 kB / 0.8019 GB, free: 11.65 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000999/0.05709, allocations: 395.9 kB / 0.8023 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/0.05849, allocations: 0.974 MB / 0.8033 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/0.05854, allocations: 79.56 kB / 0.8033 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.05863, allocations: 108 kB / 0.8035 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.05972, allocations: 0.9857 MB / 0.8044 GB, free: 8.949 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.05974, allocations: 7.938 kB / 0.8044 GB, free: 8.941 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.05983, allocations: 40.72 kB / 0.8045 GB, free: 8.902 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.05985, allocations: 31.94 kB / 0.8045 GB, free: 8.871 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/0.06038, allocations: 361 kB / 0.8048 GB, free: 8.52 MB / 0.7605 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.004336/0.06472, allocations: 4.254 MB / 0.809 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008332/0.06555, allocations: 424 kB / 0.8094 GB, free: 3.719 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001199/0.06567, allocations: 85.16 kB / 0.8095 GB, free: 3.633 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.06581, allocations: 69.36 kB / 0.8095 GB, free: 3.566 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.06584, allocations: 39.91 kB / 0.8096 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.06584, allocations: 0 / 0.8096 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001292/0.06714, allocations: 0.5589 MB / 0.8101 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.06716, allocations: 55.91 kB / 0.8102 GB, free: 2.902 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.06836, allocations: 0.9601 MB / 0.8111 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.0684, allocations: 37.7 kB / 0.8112 GB, free: 1.895 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.06869, allocations: 0.5452 MB / 0.8117 GB, free: 1.34 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.0688, allocations: 182.4 kB / 0.8119 GB, free: 1.16 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001842/0.06899, allocations: 170.4 kB / 0.812 GB, free: 0.9883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.06909, allocations: 337.9 kB / 0.8123 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.06929, allocations: 98.47 kB / 0.8124 GB, free: 0.5586 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004932/0.06978, allocations: 0.72 MB / 0.8131 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.0703, allocations: 491 kB / 0.8136 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.008e-05/0.07031, allocations: 7.938 kB / 0.8136 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007479/0.07106, allocations: 0.497 MB / 0.8141 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.07108, allocations: 12.12 kB / 0.8141 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.07109, allocations: 8 kB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004593/0.07155, allocations: 168.6 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.07193, allocations: 187.7 kB / 0.8145 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003689/0.07229, allocations: 0.5874 MB / 0.815 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005953/0.07289, allocations: 131.4 kB / 0.8152 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.07297, allocations: 31.98 kB / 0.8152 GB, free: 13.38 MB / 0.7761 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.000333/0.0733, allocations: 176.3 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.07342, allocations: 83.91 kB / 0.8154 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008314/0.07425, allocations: 0.6337 MB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.07427, allocations: 7.938 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.07427, allocations: 4 kB / 0.8161 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.07428, allocations: 11.98 kB / 0.8161 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001934/0.07621, allocations: 1.292 MB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.07622, allocations: 4 kB / 0.8173 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.07678, allocations: 79.89 kB / 0.8174 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.07724, allocations: 156.8 kB / 0.8176 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.07728, allocations: 19.98 kB / 0.8176 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004885/0.07777, allocations: 0.6108 MB / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.07777, allocations: 0 / 0.8182 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.07881, allocations: 0.6608 MB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/0.07918, allocations: 170.9 kB / 0.819 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.07929, allocations: 8 kB / 0.819 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.0796, allocations: 43.95 kB / 0.819 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.477e-05/0.07969, allocations: 44.36 kB / 0.8191 GB, free: 9.234 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.165e-05/0.07973, allocations: 19.98 kB / 0.8191 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005587/0.08029, allocations: 486.9 kB / 0.8196 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.6e-07/0.08029, allocations: 0 / 0.8196 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0009753/0.08126, allocations: 398.9 kB / 0.8199 GB, free: 8.344 MB / 0.7761 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.0003928/0.08166, allocations: 209.9 kB / 0.8202 GB, free: 8.129 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006739/0.08233, allocations: 379.6 kB / 0.8205 GB, free: 7.75 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.388e-05/0.08235, allocations: 12.5 kB / 0.8205 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003404/0.08269, allocations: 207.8 kB / 0.8207 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.08391, allocations: 480.3 kB / 0.8212 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.08686, allocations: 2.036 MB / 0.8232 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.08703, allocations: 237.3 kB / 0.8234 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005863/0.08762, allocations: 197.3 kB / 0.8236 GB, free: 4.531 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007366/0.08836, allocations: 423 kB / 0.824 GB, free: 4.113 MB / 0.7761 GB Notification: Performance of SimCode: time 1.493e-06/0.08836, allocations: 4 kB / 0.824 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of Templates: time 0.03076/0.1191, allocations: 23.51 MB / 0.847 GB, free: 13.11 MB / 0.8073 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 -s gbode -gbm=radauIIA3 -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.581365030258894]