Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001203/0.001203, allocations: 99.55 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.001438/0.001437, allocations: 177.3 kB / 15.94 MB, free: 228 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.535/1.535, allocations: 223.2 MB / 239.9 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.765/2.765, allocations: 436.5 MB / 0.7104 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 12 kB / 0.8708 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7088/0.7092, allocations: 153.6 MB / 1.021 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.04743/0.7567, allocations: 51.37 MB / 1.071 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01434/0.7711, allocations: 10.34 MB / 1.081 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/0.7729, allocations: 47.62 kB / 1.081 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001949/0.7749, allocations: 0.6258 MB / 1.082 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.7807, allocations: 1.948 MB / 1.084 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.7842, allocations: 1.313 MB / 1.085 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003422/0.7876, allocations: 1.877 MB / 1.087 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001203/0.7888, allocations: 0.8069 MB / 1.088 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.7913, allocations: 0.9847 MB / 1.088 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.7928, allocations: 0.6066 MB / 1.089 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.793, allocations: 44 kB / 1.089 GB, free: 11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003596/0.7966, allocations: 0.9985 MB / 1.09 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.000342/0.797, allocations: 195.1 kB / 1.09 GB, free: 9.809 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005379/0.7975, allocations: 289 kB / 1.091 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003042/0.8006, allocations: 1.586 MB / 1.092 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.8006, allocations: 0 / 1.092 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.005e-06/0.8006, allocations: 0 / 1.092 GB, free: 7.93 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.169e-05/0.8006, allocations: 0 / 1.092 GB, free: 7.93 MB / 0.8419 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.004178/0.8048, allocations: 1.512 MB / 1.094 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.8049, allocations: 15.98 kB / 1.094 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003201/0.8081, allocations: 477.9 kB / 1.094 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/0.8114, allocations: 1.055 MB / 1.095 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005429/0.8119, allocations: 137.8 kB / 1.095 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.8121, allocations: 80 kB / 1.095 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003011/0.8152, allocations: 1.021 MB / 1.096 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.8152, allocations: 0 / 1.096 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001201/0.8153, allocations: 32 kB / 1.096 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.8154, allocations: 24 kB / 1.096 GB, free: 3.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/0.819, allocations: 0.9485 MB / 1.097 GB, free: 2.484 MB / 0.8419 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.01086/0.8299, allocations: 4.929 MB / 1.102 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004942/0.8349, allocations: 0.9142 MB / 1.103 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009484/0.8359, allocations: 0.9025 MB / 1.104 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.23e-05/0.836, allocations: 38.56 kB / 1.104 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 3.867e-06/0.836, allocations: 0 / 1.104 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009378/0.8454, allocations: 1.823 MB / 1.106 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.8455, allocations: 63.34 kB / 1.106 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.8478, allocations: 1.068 MB / 1.107 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.194e-05/0.848, allocations: 37.7 kB / 1.107 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004042/0.8484, allocations: 0.5235 MB / 1.107 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.8485, allocations: 161.7 kB / 1.107 GB, free: 7.383 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.8486, allocations: 8 kB / 1.107 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.8487, allocations: 325.9 kB / 1.108 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009618/0.8497, allocations: 348.8 kB / 1.108 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001354/0.851, allocations: 0.5372 MB / 1.109 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009796/0.852, allocations: 371.7 kB / 1.109 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.852, allocations: 4 kB / 1.109 GB, free: 5.723 MB / 0.8575 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003812/0.8558, allocations: 1.246 MB / 1.11 GB, free: 4.465 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/0.8565, allocations: 1.672 MB / 1.112 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.8565, allocations: 7.984 kB / 1.112 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8578, allocations: 327.1 kB / 1.112 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.8584, allocations: 135.8 kB / 1.112 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.8599, allocations: 0.9387 MB / 1.113 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.8614, allocations: 207.1 kB / 1.113 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.8615, allocations: 27.98 kB / 1.113 GB, free: 1.016 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.8615, allocations: 8 kB / 1.113 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003345/0.8648, allocations: 1.101 MB / 1.115 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.8649, allocations: 8.062 kB / 1.115 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.8659, allocations: 328.6 kB / 1.115 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005602/0.8665, allocations: 139.8 kB / 1.115 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.8679, allocations: 0.9371 MB / 1.116 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00127/0.8692, allocations: 171.4 kB / 1.116 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.872e-05/0.8693, allocations: 31.92 kB / 1.116 GB, free: 14.27 MB / 0.8731 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.0005481/0.8698, allocations: 353 kB / 1.116 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.87, allocations: 118.5 kB / 1.117 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003291/0.8733, allocations: 1.182 MB / 1.118 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.8733, allocations: 4 kB / 1.118 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.8733, allocations: 7.797 kB / 1.118 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.8734, allocations: 11.98 kB / 1.118 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/0.8788, allocations: 2.323 MB / 1.12 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/0.8788, allocations: 4 kB / 1.12 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.8791, allocations: 71.89 kB / 1.12 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001048/0.8802, allocations: 326.6 kB / 1.12 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.8802, allocations: 23.98 kB / 1.12 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/0.8817, allocations: 0.9659 MB / 1.121 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8817, allocations: 64 / 1.121 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.8855, allocations: 1.429 MB / 1.123 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007585/0.8863, allocations: 287.4 kB / 1.123 GB, free: 6.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.8865, allocations: 12 kB / 1.123 GB, free: 6.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009394/0.8874, allocations: 131.7 kB / 1.123 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.8875, allocations: 43.84 kB / 1.123 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.8876, allocations: 23.98 kB / 1.123 GB, free: 6.738 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00129/0.8889, allocations: 0.751 MB / 1.124 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8889, allocations: 0 / 1.124 GB, free: 5.98 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001674/0.8906, allocations: 0.5652 MB / 1.124 GB, free: 5.414 MB / 0.8731 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.0007613/0.8914, allocations: 386.9 kB / 1.125 GB, free: 5.039 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003367/0.8947, allocations: 1.218 MB / 1.126 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.8948, allocations: 4 kB / 1.126 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009751/0.8958, allocations: 392.5 kB / 1.126 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.8982, allocations: 0.4953 MB / 1.127 GB, free: 2.949 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/0.9037, allocations: 2.512 MB / 1.129 GB, free: 388 kB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005962/0.9044, allocations: 1.096 MB / 1.13 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009656/0.9054, allocations: 224 kB / 1.131 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.9055, allocations: 71.42 kB / 1.131 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of SimCode: time 7.71e-07/0.9055, allocations: 0 / 1.131 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of Templates: time 0.05788/0.9634, allocations: 23.42 MB / 1.154 GB, free: 7.824 MB / 0.9044 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches