Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008214/0.0008215, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001124/0.001124, allocations: 168.7 kB / 15.95 MB, free: 200 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.441/1.441, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.898/2.898, allocations: 462.6 MB / 0.736 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003533/0.0003533, allocations: 11.28 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3737, allocations: 159.6 MB / 1.058 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06691/0.4406, allocations: 56.5 MB / 1.113 GB, free: 12.64 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01719/0.4579, allocations: 11.22 MB / 1.124 GB, free: 1.398 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002549/0.4605, allocations: 51.69 kB / 1.124 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.4623, allocations: 472.8 kB / 1.125 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.4675, allocations: 1.527 MB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.4704, allocations: 0.8559 MB / 1.127 GB, free: 14.5 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004948/0.4753, allocations: 3.385 MB / 1.13 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.4771, allocations: 0.7901 MB / 1.131 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.4802, allocations: 1.038 MB / 1.132 GB, free: 9.254 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.4822, allocations: 0.8049 MB / 1.133 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.4823, allocations: 40 kB / 1.133 GB, free: 8.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.4854, allocations: 1.099 MB / 1.134 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.4857, allocations: 203 kB / 1.134 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0006229/0.4863, allocations: 285 kB / 1.134 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.4889, allocations: 1.629 MB / 1.136 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4889, allocations: 4 kB / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.304e-06/0.4889, allocations: 0 / 1.136 GB, free: 5.184 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.356e-05/0.4889, allocations: 4 kB / 1.136 GB, free: 5.18 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002706/0.4916, allocations: 1.504 MB / 1.137 GB, free: 3.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.4917, allocations: 12.03 kB / 1.138 GB, free: 3.605 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001912/0.4936, allocations: 473.9 kB / 1.138 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002078/0.4957, allocations: 1.086 MB / 1.139 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.4961, allocations: 133.9 kB / 1.139 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.4962, allocations: 80 kB / 1.139 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.4981, allocations: 0.9973 MB / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.4981, allocations: 0 / 1.14 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.4982, allocations: 35.94 kB / 1.14 GB, free: 0.7109 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.4983, allocations: 20 kB / 1.14 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002057/0.5003, allocations: 0.9017 MB / 1.141 GB, free: 15.79 MB / 0.9044 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.006144/0.5065, allocations: 4.889 MB / 1.146 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.5095, allocations: 0.9019 MB / 1.147 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006865/0.5102, allocations: 316.6 kB / 1.147 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008448/0.5111, allocations: 0.9103 MB / 1.148 GB, free: 8.199 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.5112, allocations: 38.5 kB / 1.148 GB, free: 8.152 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 4.688e-06/0.5112, allocations: 4 kB / 1.148 GB, free: 8.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007108/0.5183, allocations: 1.95 MB / 1.15 GB, free: 6.168 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.5184, allocations: 55.41 kB / 1.15 GB, free: 6.102 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00185/0.5202, allocations: 1.047 MB / 1.151 GB, free: 5.039 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.162e-05/0.5203, allocations: 41.7 kB / 1.151 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.5208, allocations: 0.5197 MB / 1.152 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.000145/0.521, allocations: 145.8 kB / 1.152 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.521, allocations: 12 kB / 1.152 GB, free: 4.312 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5211, allocations: 326 kB / 1.152 GB, free: 3.988 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007772/0.5219, allocations: 316.9 kB / 1.152 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009457/0.5229, allocations: 0.5226 MB / 1.153 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008234/0.5237, allocations: 357.4 kB / 1.153 GB, free: 2.727 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5237, allocations: 4 kB / 1.153 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003349/0.5271, allocations: 1.208 MB / 1.154 GB, free: 1.504 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.5272, allocations: 217.3 kB / 1.155 GB, free: 1.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.606e-05/0.5273, allocations: 8 kB / 1.155 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.5284, allocations: 332.6 kB / 1.155 GB, free: 0.8945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004874/0.5289, allocations: 123.9 kB / 1.155 GB, free: 0.7734 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/0.5303, allocations: 0.9425 MB / 1.156 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.5316, allocations: 187.3 kB / 1.156 GB, free: 15.62 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.893e-05/0.5317, allocations: 31.92 kB / 1.156 GB, free: 15.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.5317, allocations: 4 kB / 1.156 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002918/0.5346, allocations: 1.07 MB / 1.157 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.5346, allocations: 7.938 kB / 1.157 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009635/0.5356, allocations: 332.8 kB / 1.157 GB, free: 14.18 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.5361, allocations: 123.8 kB / 1.158 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.5374, allocations: 0.9446 MB / 1.159 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/0.5385, allocations: 167.4 kB / 1.159 GB, free: 12.92 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.466e-05/0.5386, allocations: 31.97 kB / 1.159 GB, free: 12.89 MB / 0.92 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 (51): * Single equations (assignments): 50 * 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.0005907/0.5392, allocations: 356.9 kB / 1.159 GB, free: 12.53 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001735/0.5394, allocations: 114.8 kB / 1.159 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.5415, allocations: 0.9729 MB / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.5416, allocations: 4 kB / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5416, allocations: 0 / 1.16 GB, free: 11.43 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.5416, allocations: 3.984 kB / 1.16 GB, free: 11.42 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.5462, allocations: 2.257 MB / 1.162 GB, free: 9.082 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5463, allocations: 8 kB / 1.162 GB, free: 9.074 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.5465, allocations: 67.89 kB / 1.162 GB, free: 9.008 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009602/0.5475, allocations: 326.9 kB / 1.163 GB, free: 8.688 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.5476, allocations: 8 kB / 1.163 GB, free: 8.68 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.5489, allocations: 0.9737 MB / 1.164 GB, free: 7.68 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5489, allocations: 4 kB / 1.164 GB, free: 7.676 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003266/0.5522, allocations: 1.253 MB / 1.165 GB, free: 6.375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.5528, allocations: 279.5 kB / 1.165 GB, free: 6.082 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5529, allocations: 12 kB / 1.165 GB, free: 6.07 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008116/0.5537, allocations: 111.8 kB / 1.165 GB, free: 5.961 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.5538, allocations: 43.84 kB / 1.165 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.505e-05/0.5539, allocations: 27.97 kB / 1.165 GB, free: 5.891 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00124/0.5551, allocations: 0.7352 MB / 1.166 GB, free: 5.148 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.4e-07/0.5551, allocations: 0 / 1.166 GB, free: 5.148 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001699/0.5568, allocations: 0.5497 MB / 1.167 GB, free: 4.598 MB / 0.92 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 (33): * Single equations (assignments): 28 * 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.0008124/0.5577, allocations: 362 kB / 1.167 GB, free: 4.246 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.5606, allocations: 1.168 MB / 1.168 GB, free: 3.078 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5606, allocations: 0 / 1.168 GB, free: 3.078 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.5615, allocations: 370.5 kB / 1.168 GB, free: 2.719 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.564, allocations: 0.4957 MB / 1.169 GB, free: 2.227 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/0.5695, allocations: 2.496 MB / 1.171 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006541/0.5702, allocations: 1.061 MB / 1.172 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009828/0.5711, allocations: 224.7 kB / 1.173 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.5713, allocations: 75.42 kB / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of SimCode: time 1.082e-06/0.5713, allocations: 0 / 1.173 GB, free: 14.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.04166/0.613, allocations: 22.92 MB / 1.195 GB, free: 7.645 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_TEva.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_TEva.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches