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.001082/0.001082, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001043/0.001043, allocations: 161 kB / 24.17 MB, free: 328 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.9855/0.9855, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.932/1.932, allocations: 377.9 MB / 0.624 GB, free: 8.352 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.503e-06/1.503e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.898e-05, allocations: 10.19 kB / 0.76 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.01482/0.01484, allocations: 18.45 MB / 0.778 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.009512/0.02435, allocations: 7.172 MB / 0.785 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001232/0.02559, allocations: 95.19 kB / 0.7851 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008076/0.02639, allocations: 441.6 kB / 0.7855 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002669/0.02906, allocations: 1.735 MB / 0.7872 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.03132, allocations: 1.577 MB / 0.7888 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.003217/0.03454, allocations: 3.983 MB / 0.7927 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.03566, allocations: 1.196 MB / 0.7938 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001809/0.03747, allocations: 1.982 MB / 0.7958 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.03828, allocations: 0.9356 MB / 0.7967 GB, free: 1.02 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.03842, allocations: 177.1 kB / 0.7969 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007634/0.03918, allocations: 0.6512 MB / 0.7975 GB, free: 200 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.03942, allocations: 402.4 kB / 0.7979 GB, free: 15.8 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.03983, allocations: 0.5923 MB / 0.7985 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001462/0.04129, allocations: 1.644 MB / 0.8001 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.04129, allocations: 0 / 0.8001 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.163e-06/0.0413, allocations: 0 / 0.8001 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.04131, allocations: 1.062 kB / 0.8001 GB, free: 13.56 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.001979/0.04328, allocations: 1.9 MB / 0.8019 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.04333, allocations: 8.625 kB / 0.8019 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008386/0.04417, allocations: 391.2 kB / 0.8023 GB, free: 11.24 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/0.04534, allocations: 0.9754 MB / 0.8032 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.04539, allocations: 89.97 kB / 0.8033 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.04547, allocations: 104.6 kB / 0.8034 GB, free: 10.03 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008851/0.04636, allocations: 0.9861 MB / 0.8044 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.04638, allocations: 3.938 kB / 0.8044 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.04643, allocations: 48.55 kB / 0.8044 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.04645, allocations: 29.09 kB / 0.8045 GB, free: 8.832 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000435/0.04688, allocations: 359.8 kB / 0.8048 GB, free: 8.48 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.0034/0.05028, allocations: 4.246 MB / 0.809 GB, free: 4.109 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000717/0.051, allocations: 426.7 kB / 0.8094 GB, free: 3.688 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.05111, allocations: 98.06 kB / 0.8095 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.05122, allocations: 57.81 kB / 0.8095 GB, free: 3.535 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.05124, allocations: 43.05 kB / 0.8096 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=48): time 1.633e-06/0.05125, allocations: 0 / 0.8096 GB, free: 3.484 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48): time 0.001221/0.05247, allocations: 0.5583 MB / 0.8101 GB, free: 2.934 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.0525, allocations: 59.91 kB / 0.8102 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009454/0.05344, allocations: 0.9552 MB / 0.8111 GB, free: 1.902 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.05348, allocations: 37.7 kB / 0.8111 GB, free: 1.859 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002974/0.05378, allocations: 0.5491 MB / 0.8117 GB, free: 1.301 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.05388, allocations: 175.6 kB / 0.8118 GB, free: 1.129 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.0541, allocations: 170.4 kB / 0.812 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.05419, allocations: 333.9 kB / 0.8123 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.0544, allocations: 101.9 kB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.05489, allocations: 0.7209 MB / 0.8131 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.05549, allocations: 491.1 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.05549, allocations: 4 kB / 0.8136 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0007434/0.05624, allocations: 0.5048 MB / 0.8141 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.05626, allocations: 12.03 kB / 0.8141 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.05627, allocations: 12 kB / 0.8141 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.05673, allocations: 164.6 kB / 0.8143 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.05717, allocations: 179.8 kB / 0.8144 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/0.05752, allocations: 0.5835 MB / 0.815 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.05808, allocations: 135.4 kB / 0.8151 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.05815, allocations: 35.98 kB / 0.8152 GB, free: 13.36 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.0002277/0.05838, allocations: 172.3 kB / 0.8153 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.0585, allocations: 79.91 kB / 0.8154 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009029/0.0594, allocations: 0.6414 MB / 0.816 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.05942, allocations: 19.92 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.05942, allocations: 3.938 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.05943, allocations: 3.984 kB / 0.8161 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.06133, allocations: 1.288 MB / 0.8173 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.06134, allocations: 0 / 0.8173 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.06154, allocations: 71.91 kB / 0.8174 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004038/0.06194, allocations: 160.8 kB / 0.8175 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.06197, allocations: 23.98 kB / 0.8176 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004295/0.0624, allocations: 0.6108 MB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.06241, allocations: 3.938 kB / 0.8182 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009793/0.06339, allocations: 0.653 MB / 0.8188 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002749/0.06366, allocations: 170.9 kB / 0.819 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.06376, allocations: 15.94 kB / 0.819 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003636/0.06413, allocations: 43.95 kB / 0.819 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.06419, allocations: 44.36 kB / 0.8191 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.06423, allocations: 19.98 kB / 0.8191 GB, free: 9.191 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004848/0.06471, allocations: 482.9 kB / 0.8195 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.06471, allocations: 0 / 0.8195 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007764/0.06549, allocations: 399 kB / 0.8199 GB, free: 8.324 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.0003275/0.06582, allocations: 205.9 kB / 0.8201 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006576/0.06647, allocations: 375.5 kB / 0.8205 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.06649, allocations: 16.5 kB / 0.8205 GB, free: 7.723 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003737/0.06687, allocations: 207.9 kB / 0.8207 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001224/0.06809, allocations: 482.2 kB / 0.8212 GB, free: 7.066 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.07078, allocations: 2.034 MB / 0.8231 GB, free: 4.969 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001898/0.07096, allocations: 237.3 kB / 0.8234 GB, free: 4.711 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.07147, allocations: 193.4 kB / 0.8235 GB, free: 4.52 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/0.07224, allocations: 423 kB / 0.824 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of SimCode: time 7.91e-07/0.07224, allocations: 0 / 0.824 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of Templates: time 0.03116/0.1034, allocations: 23.52 MB / 0.8469 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 -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.452709302306175]