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.0008862/0.0008862, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001001/0.001, allocations: 168.7 kB / 15.95 MB, free: 204 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.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.87/2.87, allocations: 462.6 MB / 0.736 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003693/0.0003693, allocations: 11.75 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4157, allocations: 159.6 MB / 1.058 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.08295/0.4988, allocations: 69.41 MB / 1.126 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.5216, allocations: 11.96 MB / 1.137 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003201/0.5248, allocations: 55.62 kB / 1.138 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.003052/0.5279, allocations: 0.5628 MB / 1.138 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.007977/0.5359, allocations: 1.891 MB / 1.14 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.004118/0.54, allocations: 0.9693 MB / 1.141 GB, free: 312 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008696/0.5487, allocations: 4.793 MB / 1.146 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002982/0.5518, allocations: 1.01 MB / 1.147 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004122/0.5559, allocations: 1.268 MB / 1.148 GB, free: 9.188 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002903/0.5588, allocations: 1.069 MB / 1.149 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0004785/0.5593, allocations: 56 kB / 1.149 GB, free: 8.059 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.5629, allocations: 0.916 MB / 1.15 GB, free: 7.141 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0006414/0.5636, allocations: 278.7 kB / 1.15 GB, free: 6.867 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.001015/0.5646, allocations: 356.9 kB / 1.15 GB, free: 6.512 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.5684, allocations: 2.073 MB / 1.152 GB, free: 4.434 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.5685, allocations: 4 kB / 1.152 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.866e-06/0.5685, allocations: 0 / 1.152 GB, free: 4.43 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.506e-05/0.5686, allocations: 0 / 1.152 GB, free: 4.43 MB / 0.9044 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.004941/0.5735, allocations: 1.799 MB / 1.154 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5736, allocations: 8.031 kB / 1.154 GB, free: 2.559 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.5747, allocations: 245.8 kB / 1.154 GB, free: 2.316 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003617/0.5783, allocations: 1.447 MB / 1.156 GB, free: 0.8125 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.47e-05/0.5784, allocations: 78 kB / 1.156 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002667/0.5787, allocations: 104 kB / 1.156 GB, free: 0.6367 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00253/0.5813, allocations: 1.108 MB / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/0.5813, allocations: 0 / 1.157 GB, free: 15.49 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.5814, allocations: 40 kB / 1.157 GB, free: 15.45 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.5815, allocations: 27.98 kB / 1.157 GB, free: 15.43 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/0.5836, allocations: 0.9212 MB / 1.158 GB, free: 14.5 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.007795/0.5914, allocations: 4.907 MB / 1.163 GB, free: 9.305 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.593, allocations: 0.6477 MB / 1.163 GB, free: 8.652 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000795/0.5938, allocations: 366.3 kB / 1.164 GB, free: 8.293 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009233/0.5947, allocations: 0.8277 MB / 1.165 GB, free: 7.281 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.5948, allocations: 39.12 kB / 1.165 GB, free: 7.234 MB / 0.92 GB Notification: Performance of pre-optimization done (n=61): time 3.427e-06/0.5948, allocations: 0 / 1.165 GB, free: 7.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=61): time 0.006906/0.6017, allocations: 1.877 MB / 1.166 GB, free: 5.332 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6018, allocations: 55.97 kB / 1.167 GB, free: 5.262 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.6039, allocations: 1.198 MB / 1.168 GB, free: 4.047 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.604, allocations: 45.7 kB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006154/0.6047, allocations: 0.5948 MB / 1.168 GB, free: 3.395 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.6049, allocations: 220.9 kB / 1.169 GB, free: 3.176 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.605, allocations: 12 kB / 1.169 GB, free: 3.164 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.6051, allocations: 334 kB / 1.169 GB, free: 2.832 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.6058, allocations: 297.8 kB / 1.169 GB, free: 2.539 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.6067, allocations: 0.4921 MB / 1.17 GB, free: 1.973 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000759/0.6074, allocations: 363 kB / 1.17 GB, free: 1.617 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.6074, allocations: 7.938 kB / 1.17 GB, free: 1.609 MB / 0.92 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004585/0.612, allocations: 1.394 MB / 1.171 GB, free: 208 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.6122, allocations: 196.1 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6123, allocations: 4 kB / 1.172 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006056/0.6129, allocations: 144.7 kB / 1.172 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006368/0.6135, allocations: 167.8 kB / 1.172 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008689/0.6144, allocations: 0.7161 MB / 1.173 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.6157, allocations: 163 kB / 1.173 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6158, allocations: 32 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.6159, allocations: 8 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004198/0.6201, allocations: 1.245 MB / 1.174 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/0.6201, allocations: 4 kB / 1.174 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.6206, allocations: 145.1 kB / 1.174 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006396/0.6213, allocations: 167.8 kB / 1.174 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008848/0.6222, allocations: 0.7084 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.6237, allocations: 155.2 kB / 1.175 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-05/0.6238, allocations: 31.98 kB / 1.175 GB, free: 12.23 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 (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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0008359/0.6246, allocations: 425.4 kB / 1.176 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003972/0.625, allocations: 130.4 kB / 1.176 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00458/0.6296, allocations: 1.404 MB / 1.177 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.6296, allocations: 8 kB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.465e-06/0.6297, allocations: 4 kB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003871/0.6335, allocations: 1.228 MB / 1.178 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007433/0.641, allocations: 2.731 MB / 1.181 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.709e-06/0.641, allocations: 4 kB / 1.181 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.6415, allocations: 124.2 kB / 1.181 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.6421, allocations: 140.7 kB / 1.181 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.6422, allocations: 19.95 kB / 1.181 GB, free: 5.848 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004873/0.6471, allocations: 2.454 MB / 1.184 GB, free: 3.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6471, allocations: 4 kB / 1.184 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005552/0.6527, allocations: 1.844 MB / 1.185 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009968/0.6537, allocations: 339 kB / 1.186 GB, free: 0.9844 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004476/0.6542, allocations: 16 kB / 1.186 GB, free: 0.9688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/0.6554, allocations: 87.97 kB / 1.186 GB, free: 0.8828 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/0.6556, allocations: 60.25 kB / 1.186 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/0.6557, allocations: 35.98 kB / 1.186 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001742/0.6575, allocations: 0.8583 MB / 1.187 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6575, allocations: 0 / 1.187 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002745/0.6602, allocations: 0.7059 MB / 1.187 GB, free: 15.22 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/0.6613, allocations: 446.4 kB / 1.188 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002919/0.6642, allocations: 1.157 MB / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6642, allocations: 0 / 1.189 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001555/0.6658, allocations: 0.5878 MB / 1.19 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00424/0.6701, allocations: 0.7634 MB / 1.19 GB, free: 12.27 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.6753, allocations: 2.766 MB / 1.193 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009977/0.6763, allocations: 1.172 MB / 1.194 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001477/0.6778, allocations: 303 kB / 1.194 GB, free: 7.93 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.6781, allocations: 107.3 kB / 1.195 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of SimCode: time 1.432e-06/0.6781, allocations: 0 / 1.195 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of Templates: time 0.05391/0.7321, allocations: 29.3 MB / 1.223 GB, free: 10.89 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/jenkins/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