Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a2.T|chi.sta_b2.T|chi.TSet|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.port_a1.m_flow|chi.port_b1.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 99.62 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.3 MB / 0.6653 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003261/0.0003261, allocations: 12 kB / 0.8145 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7863/0.7866, allocations: 142.3 MB / 0.9535 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.0545/0.8412, allocations: 51.39 MB / 1.004 GB, free: 12.64 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01805/0.8593, allocations: 10.32 MB / 1.014 GB, free: 2.301 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002856/0.8622, allocations: 47.62 kB / 1.014 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003118/0.8653, allocations: 0.6335 MB / 1.014 GB, free: 1.617 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.00808/0.8735, allocations: 1.947 MB / 1.016 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.8781, allocations: 1.317 MB / 1.018 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004966/0.8831, allocations: 1.856 MB / 1.019 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002178/0.8853, allocations: 0.8147 MB / 1.02 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.8883, allocations: 0.9925 MB / 1.021 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.8898, allocations: 0.6105 MB / 1.022 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0003364/0.8901, allocations: 44 kB / 1.022 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002842/0.893, allocations: 0.9984 MB / 1.023 GB, free: 9.027 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.8934, allocations: 199.1 kB / 1.023 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.894, allocations: 285.1 kB / 1.023 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.8967, allocations: 1.59 MB / 1.025 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8968, allocations: 4 kB / 1.025 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8968, allocations: 3.938 kB / 1.025 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.094e-05/0.8968, allocations: 0 / 1.025 GB, free: 6.945 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003561/0.9004, allocations: 1.505 MB / 1.026 GB, free: 5.383 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.9005, allocations: 12.03 kB / 1.026 GB, free: 5.371 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002447/0.9029, allocations: 477.9 kB / 1.027 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.9054, allocations: 1.051 MB / 1.028 GB, free: 3.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.9058, allocations: 129.9 kB / 1.028 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.906, allocations: 80 kB / 1.028 GB, free: 3.59 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.9085, allocations: 1.028 MB / 1.029 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.9085, allocations: 0 / 1.029 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.419e-05/0.9086, allocations: 35.94 kB / 1.029 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.9086, allocations: 20 kB / 1.029 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002623/0.9112, allocations: 0.9484 MB / 1.03 GB, free: 1.516 MB / 0.7794 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.007812/0.9191, allocations: 4.913 MB / 1.035 GB, free: 12.25 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.9228, allocations: 0.9193 MB / 1.036 GB, free: 11.32 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007808/0.9236, allocations: 0.9064 MB / 1.037 GB, free: 10.21 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/0.9237, allocations: 30.56 kB / 1.037 GB, free: 10.17 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.956e-06/0.9237, allocations: 0 / 1.037 GB, free: 10.17 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.006867/0.9306, allocations: 1.834 MB / 1.038 GB, free: 8.309 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.9306, allocations: 59.41 kB / 1.038 GB, free: 8.238 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001706/0.9323, allocations: 1.068 MB / 1.039 GB, free: 7.156 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 8.457e-05/0.9324, allocations: 37.7 kB / 1.04 GB, free: 7.113 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004581/0.9329, allocations: 0.5235 MB / 1.04 GB, free: 6.586 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.9331, allocations: 161.7 kB / 1.04 GB, free: 6.426 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.9331, allocations: 12 kB / 1.04 GB, free: 6.414 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.9333, allocations: 329.9 kB / 1.04 GB, free: 6.086 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.9342, allocations: 336.9 kB / 1.041 GB, free: 5.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/0.9353, allocations: 0.5424 MB / 1.041 GB, free: 5.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001037/0.9364, allocations: 375.5 kB / 1.042 GB, free: 4.766 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.9364, allocations: 4 kB / 1.042 GB, free: 4.762 MB / 0.795 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003852/0.9403, allocations: 1.246 MB / 1.043 GB, free: 3.504 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008426/0.9411, allocations: 1.673 MB / 1.045 GB, free: 1.711 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.9412, allocations: 4 kB / 1.045 GB, free: 1.707 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/0.9426, allocations: 332.6 kB / 1.045 GB, free: 1.379 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005856/0.9432, allocations: 147.7 kB / 1.045 GB, free: 1.234 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.9446, allocations: 0.9289 MB / 1.046 GB, free: 288 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.9461, allocations: 207.2 kB / 1.046 GB, free: 80 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.526e-05/0.9462, allocations: 27.98 kB / 1.046 GB, free: 52 kB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.9462, allocations: 4 kB / 1.046 GB, free: 48 kB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003504/0.9498, allocations: 1.105 MB / 1.047 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.9498, allocations: 8 kB / 1.047 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.951, allocations: 333 kB / 1.048 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005993/0.9516, allocations: 131.8 kB / 1.048 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.9531, allocations: 0.9288 MB / 1.049 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.9545, allocations: 175.3 kB / 1.049 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-05/0.9546, allocations: 31.98 kB / 1.049 GB, free: 13.32 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007/0.9553, allocations: 360.9 kB / 1.049 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.9555, allocations: 110.6 kB / 1.049 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.9589, allocations: 1.186 MB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.575e-05/0.959, allocations: 4 kB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.959, allocations: 3.938 kB / 1.05 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.959, allocations: 11.92 kB / 1.05 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/0.9646, allocations: 2.308 MB / 1.053 GB, free: 9.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.9646, allocations: 4 kB / 1.053 GB, free: 9.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.9649, allocations: 84.12 kB / 1.053 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.966, allocations: 321.7 kB / 1.053 GB, free: 8.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.247e-05/0.9661, allocations: 15.98 kB / 1.053 GB, free: 8.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/0.9676, allocations: 0.9717 MB / 1.054 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9676, allocations: 3.938 kB / 1.054 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.9718, allocations: 1.429 MB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008485/0.9727, allocations: 287.4 kB / 1.056 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002875/0.973, allocations: 15.98 kB / 1.056 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9741, allocations: 131.7 kB / 1.056 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.94e-05/0.9742, allocations: 31.95 kB / 1.056 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.682e-05/0.9743, allocations: 23.98 kB / 1.056 GB, free: 5.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001424/0.9757, allocations: 0.7549 MB / 1.057 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.455e-06/0.9757, allocations: 0 / 1.057 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002042/0.9778, allocations: 0.5691 MB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.9788, allocations: 391.7 kB / 1.058 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003578/0.9824, allocations: 1.216 MB / 1.059 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.9824, allocations: 4 kB / 1.059 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.9835, allocations: 394.2 kB / 1.059 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002768/0.9862, allocations: 0.5022 MB / 1.06 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006697/0.993, allocations: 2.508 MB / 1.062 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.9938, allocations: 1.093 MB / 1.063 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.00125/0.9951, allocations: 219.9 kB / 1.063 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.9954, allocations: 79.42 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of SimCode: time 1.984e-06/0.9954, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of Templates: time 0.04814/1.044, allocations: 23.43 MB / 1.086 GB, free: 6.867 MB / 0.8419 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches