Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.0009431, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.006009/0.006009, allocations: 170.2 kB / 16.27 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.904/2.904, allocations: 462.6 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004926/0.0004927, allocations: 10.91 kB / 0.9028 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3591, allocations: 159.6 MB / 1.059 GB, free: 5.496 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.001803/0.361, allocations: 1.415 MB / 1.06 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1852/0.5462, allocations: 144.6 MB / 1.201 GB, free: 2.926 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001401/0.5464, allocations: 4 kB / 1.201 GB, free: 2.922 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.000278/0.5467, allocations: 47.97 kB / 1.201 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.5482, allocations: 382.4 kB / 1.202 GB, free: 2.5 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002101/0.5484, allocations: 59.86 kB / 1.202 GB, free: 2.441 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.5487, allocations: 139.3 kB / 1.202 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 6.19e-05/0.5487, allocations: 9.406 kB / 1.202 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.5488, allocations: 51.83 kB / 1.202 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.549, allocations: 63.75 kB / 1.202 GB, free: 2.18 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.5491, allocations: 4 kB / 1.202 GB, free: 2.176 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.5503, allocations: 0.569 MB / 1.203 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.5503, allocations: 23.91 kB / 1.203 GB, free: 1.582 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.691e-05/0.5504, allocations: 81.38 kB / 1.203 GB, free: 1.496 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008273/0.5513, allocations: 391 kB / 1.203 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.5513, allocations: 0 / 1.203 GB, free: 1.113 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5513, allocations: 3.938 kB / 1.203 GB, free: 1.109 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.533e-06/0.5513, allocations: 0 / 1.203 GB, free: 1.109 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0008626/0.5522, allocations: 455 kB / 1.203 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.5522, allocations: 16.02 kB / 1.203 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001308/0.5535, allocations: 179.9 kB / 1.204 GB, free: 436 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.5539, allocations: 304.2 kB / 1.204 GB, free: 92 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.955e-05/0.554, allocations: 162.5 kB / 1.204 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.5541, allocations: 150.6 kB / 1.204 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.803e-05/0.5542, allocations: 104.9 kB / 1.204 GB, free: 15.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.5542, allocations: 79.28 kB / 1.204 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.5543, allocations: 158.5 kB / 1.205 GB, free: 15.44 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/0.5544, allocations: 150.6 kB / 1.205 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.951e-05/0.5544, allocations: 154.6 kB / 1.205 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004091/0.5548, allocations: 0.5134 MB / 1.205 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.634e-05/0.5549, allocations: 165.1 kB / 1.206 GB, free: 14.4 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.555, allocations: 80.14 kB / 1.206 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.555, allocations: 83.22 kB / 1.206 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.5551, allocations: 113.8 kB / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5551, allocations: 0 / 1.206 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003297/0.5554, allocations: 65.48 kB / 1.206 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.452e-05/0.5555, allocations: 126.7 kB / 1.206 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.5558, allocations: 219.1 kB / 1.206 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.5558, allocations: 25.7 kB / 1.206 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.683e-05/0.5559, allocations: 112.1 kB / 1.206 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.026e-06/0.5559, allocations: 0 / 1.206 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.556, allocations: 9.719 kB / 1.206 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5561, allocations: 322.8 kB / 1.207 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.5562, allocations: 16 kB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.264e-05/0.5562, allocations: 23.92 kB / 1.207 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.423e-05/0.5563, allocations: 36.92 kB / 1.207 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5563, allocations: 0 / 1.207 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006233/0.5569, allocations: 130.4 kB / 1.207 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.116e-05/0.557, allocations: 100.9 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.557, allocations: 7.969 kB / 1.207 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008157/0.5579, allocations: 152.6 kB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.657e-05/0.558, allocations: 4 kB / 1.207 GB, free: 12.72 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002175/0.5601, allocations: 1.492 MB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001784/0.5603, allocations: 8.125 kB / 1.209 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.5604, allocations: 0 / 1.209 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.5604, allocations: 9.812 kB / 1.209 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002086/0.5606, allocations: 68.77 kB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.5606, allocations: 3.938 kB / 1.209 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/0.561, allocations: 124.7 kB / 1.209 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.166e-05/0.561, allocations: 4 kB / 1.209 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/0.5622, allocations: 1.363 MB / 1.21 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5624, allocations: 0 / 1.21 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.5624, allocations: 4 kB / 1.21 GB, free: 9.371 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (4): * Single equations (assignments): 3 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000163/0.5626, allocations: 271.9 kB / 1.21 GB, free: 9.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.199e-05/0.5626, allocations: 116.9 kB / 1.21 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.368e-05/0.5627, allocations: 117.5 kB / 1.211 GB, free: 8.855 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-05/0.5628, allocations: 180.3 kB / 1.211 GB, free: 8.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.612e-05/0.5628, allocations: 184.2 kB / 1.211 GB, free: 8.484 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-05/0.5629, allocations: 184.2 kB / 1.211 GB, free: 8.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.5632, allocations: 449 kB / 1.212 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.508e-05/0.5632, allocations: 105 kB / 1.212 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.5633, allocations: 105 kB / 1.212 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.412e-05/0.5634, allocations: 184.2 kB / 1.212 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.83e-05/0.5634, allocations: 180.4 kB / 1.212 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-05/0.5635, allocations: 180.2 kB / 1.212 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.941e-05/0.5636, allocations: 184.3 kB / 1.212 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001606/0.5638, allocations: 319.5 kB / 1.213 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.5639, allocations: 198.1 kB / 1.213 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.874e-05/0.564, allocations: 184.2 kB / 1.213 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.5642, allocations: 105 kB / 1.213 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.053e-05/0.5643, allocations: 192.2 kB / 1.213 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.778e-05/0.5643, allocations: 108.9 kB / 1.213 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002198/0.5646, allocations: 165.1 kB / 1.214 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5646, allocations: 0 / 1.214 GB, free: 5.52 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004926/0.5651, allocations: 67.98 kB / 1.214 GB, free: 5.453 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003241/0.5654, allocations: 210.4 kB / 1.214 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.566, allocations: 297.3 kB / 1.214 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.566, allocations: 0 / 1.214 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.907e-06/0.5661, allocations: 4 kB / 1.214 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006065/0.5667, allocations: 0.5499 MB / 1.215 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004473/0.5671, allocations: 341.4 kB / 1.215 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.5674, allocations: 0.6967 MB / 1.216 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001088/0.5675, allocations: 16.8 kB / 1.216 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.774e-05/0.5676, allocations: 11.44 kB / 1.216 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of SimCode: time 6.62e-07/0.5676, allocations: 0 / 1.216 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of Templates: time 0.007122/0.5747, allocations: 2.927 MB / 1.219 GB, free: 368 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches