Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_y,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.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.88 kB / 16.02 MB, free: 72 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.001278/0.001278, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.434/1.434, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.834/2.834, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 18.39 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3966, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.07855/0.4752, allocations: 73.45 MB / 1.131 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.4964, allocations: 12.67 MB / 1.143 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003958/0.5004, allocations: 63.56 kB / 1.143 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00293/0.5034, allocations: 0.676 MB / 1.144 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008516/0.512, allocations: 2.272 MB / 1.146 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00474/0.5167, allocations: 1.264 MB / 1.148 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009071/0.5258, allocations: 5.535 MB / 1.153 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003082/0.5289, allocations: 1.155 MB / 1.154 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004076/0.533, allocations: 1.314 MB / 1.155 GB, free: 2.277 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5358, allocations: 1.139 MB / 1.157 GB, free: 1.133 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005627/0.5364, allocations: 56 kB / 1.157 GB, free: 1.078 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004017/0.5405, allocations: 1.236 MB / 1.158 GB, free: 15.84 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.000708/0.5412, allocations: 294.6 kB / 1.158 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002125/0.5433, allocations: 0.7944 MB / 1.159 GB, free: 14.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.003951/0.5473, allocations: 2.151 MB / 1.161 GB, free: 12.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5473, allocations: 3.984 kB / 1.161 GB, free: 12.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5473, allocations: 0 / 1.161 GB, free: 12.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.493e-05/0.5474, allocations: 0 / 1.161 GB, free: 12.59 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.005161/0.5526, allocations: 1.779 MB / 1.163 GB, free: 10.74 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.617e-05/0.5527, allocations: 15.97 kB / 1.163 GB, free: 10.73 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.5539, allocations: 242.8 kB / 1.163 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.5574, allocations: 1.489 MB / 1.164 GB, free: 8.941 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.76e-05/0.5575, allocations: 74 kB / 1.164 GB, free: 8.871 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002837/0.5578, allocations: 104 kB / 1.165 GB, free: 8.77 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002748/0.5606, allocations: 1.12 MB / 1.166 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.283e-05/0.5606, allocations: 0 / 1.166 GB, free: 7.613 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.5608, allocations: 40 kB / 1.166 GB, free: 7.574 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.169e-05/0.5608, allocations: 24 kB / 1.166 GB, free: 7.551 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002258/0.5631, allocations: 0.929 MB / 1.167 GB, free: 6.621 MB / 0.92 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.007772/0.5709, allocations: 4.919 MB / 1.171 GB, free: 1.414 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.5724, allocations: 0.6516 MB / 1.172 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007965/0.5732, allocations: 370.3 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007332/0.574, allocations: 0.8277 MB / 1.173 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.574, allocations: 35.12 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=61): time 3.145e-06/0.574, allocations: 0 / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of matching and sorting (n=61): time 0.008039/0.5821, allocations: 1.889 MB / 1.175 GB, free: 13.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5822, allocations: 55.97 kB / 1.175 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.5845, allocations: 1.217 MB / 1.176 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.5846, allocations: 37.7 kB / 1.176 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/0.5852, allocations: 0.6026 MB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.5855, allocations: 212.9 kB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.5856, allocations: 61.69 kB / 1.177 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5858, allocations: 338 kB / 1.178 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007653/0.5866, allocations: 305.8 kB / 1.178 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009304/0.5875, allocations: 0.5038 MB / 1.178 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.5891, allocations: 0.748 MB / 1.179 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5891, allocations: 0 / 1.179 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005458/0.5946, allocations: 1.41 MB / 1.18 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.5948, allocations: 202 kB / 1.181 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.5948, allocations: 4 kB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006845/0.5955, allocations: 144.7 kB / 1.181 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000697/0.5962, allocations: 167.7 kB / 1.181 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009479/0.5972, allocations: 0.7045 MB / 1.182 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.5987, allocations: 167 kB / 1.182 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/0.5988, allocations: 35.98 kB / 1.182 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.5988, allocations: 5.25 kB / 1.182 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004914/0.6038, allocations: 1.257 MB / 1.183 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.6038, allocations: 4 kB / 1.183 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.6044, allocations: 140.9 kB / 1.183 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000637/0.605, allocations: 171.7 kB / 1.183 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008773/0.6059, allocations: 0.7122 MB / 1.184 GB, free: 3.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/0.6073, allocations: 163.3 kB / 1.184 GB, free: 3.789 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.6074, allocations: 31.98 kB / 1.184 GB, free: 3.758 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0008266/0.6082, allocations: 421.6 kB / 1.185 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004101/0.6087, allocations: 130.4 kB / 1.185 GB, free: 3.207 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005303/0.614, allocations: 1.396 MB / 1.186 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.985e-05/0.614, allocations: 15.92 kB / 1.186 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.614, allocations: 0 / 1.186 GB, free: 1.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004626/0.6186, allocations: 1.228 MB / 1.187 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007834/0.6265, allocations: 2.75 MB / 1.19 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.6265, allocations: 12 kB / 1.19 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.627, allocations: 119.9 kB / 1.19 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/0.6276, allocations: 144.7 kB / 1.19 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.6277, allocations: 19.98 kB / 1.19 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.6327, allocations: 2.435 MB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.6328, allocations: 4 kB / 1.193 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005903/0.6387, allocations: 1.855 MB / 1.194 GB, free: 8.848 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000765/0.6395, allocations: 335 kB / 1.195 GB, free: 8.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/0.6398, allocations: 12 kB / 1.195 GB, free: 8.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.6409, allocations: 95.88 kB / 1.195 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.6411, allocations: 60.25 kB / 1.195 GB, free: 8.336 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.6411, allocations: 31.97 kB / 1.195 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001426/0.6426, allocations: 0.8699 MB / 1.196 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6426, allocations: 0 / 1.196 GB, free: 7.434 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002189/0.6448, allocations: 0.7135 MB / 1.197 GB, free: 6.719 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009795/0.6458, allocations: 439 kB / 1.197 GB, free: 6.289 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003014/0.6488, allocations: 1.172 MB / 1.198 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.6488, allocations: 0 / 1.198 GB, free: 5.113 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.6505, allocations: 0.5994 MB / 1.199 GB, free: 4.5 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004907/0.6555, allocations: 0.7993 MB / 1.199 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/0.6609, allocations: 2.838 MB / 1.202 GB, free: 0.793 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.6619, allocations: 1.173 MB / 1.203 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004259/0.6624, allocations: 115.4 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of SimCode: time 1.302e-06/0.6624, allocations: 4 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Templates: time 0.04873/0.7111, allocations: 30.65 MB / 1.233 GB, free: 0.9961 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_Carnot_y.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.Carnot_y.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches