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.001109/0.001109, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 172.9 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.332 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.407/2.407, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003322, allocations: 8 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.721/0.7214, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05456/0.7759, allocations: 59.82 MB / 1.014 GB, free: 3.348 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01602/0.792, allocations: 11.92 MB / 1.026 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00245/0.7945, allocations: 59.56 kB / 1.026 GB, free: 7.332 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.7965, allocations: 0.5477 MB / 1.026 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005568/0.8021, allocations: 1.813 MB / 1.028 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002886/0.805, allocations: 1.082 MB / 1.029 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005169/0.8102, allocations: 3.911 MB / 1.033 GB, free: 15.97 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001572/0.8118, allocations: 0.9071 MB / 1.034 GB, free: 15.03 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.8143, allocations: 1.139 MB / 1.035 GB, free: 13.89 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.8158, allocations: 0.8592 MB / 1.036 GB, free: 13.02 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001459/0.8159, allocations: 40 kB / 1.036 GB, free: 12.98 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002784/0.8187, allocations: 1.337 MB / 1.037 GB, free: 11.64 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.819, allocations: 210.9 kB / 1.037 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008361/0.8198, allocations: 0.6388 MB / 1.038 GB, free: 10.79 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.8222, allocations: 1.707 MB / 1.04 GB, free: 9.078 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8222, allocations: 0 / 1.04 GB, free: 9.078 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8222, allocations: 4 kB / 1.04 GB, free: 9.074 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.341e-05/0.8223, allocations: 0 / 1.04 GB, free: 9.074 MB / 0.795 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.002731/0.825, allocations: 1.516 MB / 1.041 GB, free: 7.5 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.8251, allocations: 8.031 kB / 1.041 GB, free: 7.492 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.8273, allocations: 474.8 kB / 1.042 GB, free: 7.027 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002097/0.8294, allocations: 1.128 MB / 1.043 GB, free: 5.84 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.8298, allocations: 129.9 kB / 1.043 GB, free: 5.715 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.8299, allocations: 84 kB / 1.043 GB, free: 5.633 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.8321, allocations: 1.029 MB / 1.044 GB, free: 4.559 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/0.8321, allocations: 3.938 kB / 1.044 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.237e-05/0.8322, allocations: 32 kB / 1.044 GB, free: 4.523 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.799e-05/0.8322, allocations: 20 kB / 1.044 GB, free: 4.504 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002471/0.8347, allocations: 0.9485 MB / 1.045 GB, free: 3.555 MB / 0.795 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.006666/0.8414, allocations: 4.894 MB / 1.05 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003631/0.845, allocations: 0.9247 MB / 1.051 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000835/0.8459, allocations: 336.6 kB / 1.051 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/0.8466, allocations: 0.9064 MB / 1.052 GB, free: 11.93 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.8466, allocations: 38.56 kB / 1.052 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.964e-06/0.8466, allocations: 0 / 1.052 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.006713/0.8533, allocations: 1.841 MB / 1.054 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.8534, allocations: 55.41 kB / 1.054 GB, free: 9.941 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001558/0.855, allocations: 1.064 MB / 1.055 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 8.745e-05/0.8551, allocations: 37.7 kB / 1.055 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.8555, allocations: 0.5274 MB / 1.055 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.8556, allocations: 149.8 kB / 1.055 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.289e-05/0.8557, allocations: 49.69 kB / 1.055 GB, free: 8.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.8558, allocations: 333.9 kB / 1.056 GB, free: 7.754 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009836/0.8568, allocations: 340.9 kB / 1.056 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.858, allocations: 0.5489 MB / 1.057 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.8599, allocations: 0.7686 MB / 1.057 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.795e-06/0.8599, allocations: 4 kB / 1.057 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00332/0.8633, allocations: 1.093 MB / 1.058 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/0.8634, allocations: 209.4 kB / 1.059 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8635, allocations: 11.88 kB / 1.059 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.8648, allocations: 332.7 kB / 1.059 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.8654, allocations: 135.8 kB / 1.059 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/0.867, allocations: 0.9489 MB / 1.06 GB, free: 3.137 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.8686, allocations: 199.2 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.8687, allocations: 28 kB / 1.06 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.8687, allocations: 9.719 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00271/0.8715, allocations: 0.953 MB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.8715, allocations: 4.438 kB / 1.061 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.8727, allocations: 328.6 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/0.8734, allocations: 139.8 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.875, allocations: 0.9247 MB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.8763, allocations: 187.3 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.974e-05/0.8764, allocations: 27.98 kB / 1.063 GB, free: 332 kB / 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006058/0.877, allocations: 357 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.8772, allocations: 106.7 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00358/0.8808, allocations: 1.193 MB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.8809, allocations: 7.984 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8809, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.8809, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005767/0.8867, allocations: 2.335 MB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.8867, allocations: 4 kB / 1.067 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003457/0.8871, allocations: 75.89 kB / 1.067 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.8882, allocations: 320.7 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.881e-05/0.8882, allocations: 23.92 kB / 1.067 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001642/0.8899, allocations: 0.9675 MB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8899, allocations: 4 kB / 1.068 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.8941, allocations: 1.321 MB / 1.069 GB, free: 9.449 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006027/0.8947, allocations: 279.4 kB / 1.07 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.8948, allocations: 8 kB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009736/0.8958, allocations: 131.7 kB / 1.07 GB, free: 9.02 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.8959, allocations: 39.89 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.346e-05/0.896, allocations: 23.98 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001345/0.8973, allocations: 0.751 MB / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8973, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.00172/0.8991, allocations: 0.5575 MB / 1.071 GB, free: 7.641 MB / 0.8262 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009379/0.9, allocations: 386.2 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003612/0.9036, allocations: 1.23 MB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.9037, allocations: 0 / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.9047, allocations: 394.2 kB / 1.073 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/0.9077, allocations: 0.4944 MB / 1.073 GB, free: 5.16 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.9138, allocations: 2.606 MB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007392/0.9145, allocations: 1.062 MB / 1.077 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.9149, allocations: 83.42 kB / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of SimCode: time 8.52e-07/0.9149, allocations: 0 / 1.077 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.03632/0.9512, allocations: 23.9 MB / 1.1 GB, free: 9.582 MB / 0.8575 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches