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.001006/0.001006, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.00793/0.00793, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.818/2.818, allocations: 462.7 MB / 0.7364 GB, free: 296 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003859/0.0003857, allocations: 8.562 kB / 0.9028 GB, free: 36.75 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3661, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002542/0.3687, allocations: 1.411 MB / 1.06 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1673/0.536, allocations: 144.6 MB / 1.201 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.5362, allocations: 4 kB / 1.201 GB, free: 2.949 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.5364, allocations: 55.94 kB / 1.201 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001453/0.5379, allocations: 382.4 kB / 1.202 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.5381, allocations: 51.89 kB / 1.202 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.5383, allocations: 147.3 kB / 1.202 GB, free: 2.324 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.378e-05/0.5384, allocations: 13.39 kB / 1.202 GB, free: 2.309 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.5385, allocations: 39.86 kB / 1.202 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.5387, allocations: 63.75 kB / 1.202 GB, free: 2.207 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.5388, allocations: 4 kB / 1.202 GB, free: 2.203 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.54, allocations: 0.5807 MB / 1.203 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.54, allocations: 15.91 kB / 1.203 GB, free: 1.605 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 7.92e-05/0.5401, allocations: 81.38 kB / 1.203 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000737/0.5409, allocations: 387 kB / 1.203 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5409, allocations: 0 / 1.203 GB, free: 1.141 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5409, allocations: 3.938 kB / 1.203 GB, free: 1.137 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.5409, allocations: 0 / 1.203 GB, free: 1.137 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.0008133/0.5417, allocations: 463 kB / 1.203 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.5418, allocations: 12.03 kB / 1.203 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.543, allocations: 175.9 kB / 1.204 GB, free: 464 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.5433, allocations: 312.2 kB / 1.204 GB, free: 112 kB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.456e-05/0.5434, allocations: 158.5 kB / 1.204 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.5435, allocations: 154.6 kB / 1.204 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.804e-05/0.5436, allocations: 101 kB / 1.204 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.316e-05/0.5436, allocations: 79.28 kB / 1.204 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-05/0.5437, allocations: 158.5 kB / 1.205 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.804e-05/0.5437, allocations: 154.5 kB / 1.205 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.873e-05/0.5438, allocations: 150.6 kB / 1.205 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004278/0.5442, allocations: 0.5134 MB / 1.205 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/0.5443, allocations: 169.1 kB / 1.206 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.15e-05/0.5444, allocations: 84.08 kB / 1.206 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.247e-05/0.5444, allocations: 83.22 kB / 1.206 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/0.5445, allocations: 113.8 kB / 1.206 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.5445, allocations: 0 / 1.206 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0003182/0.5448, allocations: 61.5 kB / 1.206 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.381e-05/0.5449, allocations: 126.7 kB / 1.206 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.5452, allocations: 215.1 kB / 1.206 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.5453, allocations: 25.7 kB / 1.206 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.108e-05/0.5454, allocations: 108.1 kB / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.5454, allocations: 0 / 1.206 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.5454, allocations: 17.7 kB / 1.206 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5456, allocations: 322.8 kB / 1.207 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.5456, allocations: 15.98 kB / 1.207 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.997e-05/0.5457, allocations: 19.94 kB / 1.207 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.6e-05/0.5458, allocations: 32.78 kB / 1.207 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5458, allocations: 0 / 1.207 GB, free: 13.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006363/0.5464, allocations: 138.4 kB / 1.207 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.5465, allocations: 89 kB / 1.207 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.5465, allocations: 3.938 kB / 1.207 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008303/0.5473, allocations: 156.6 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.5474, allocations: 4 kB / 1.207 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002191/0.5496, allocations: 1.504 MB / 1.209 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.5498, allocations: 15.92 kB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.5498, allocations: 0 / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/0.5498, allocations: 4 kB / 1.209 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002077/0.55, allocations: 72.77 kB / 1.209 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5501, allocations: 7.938 kB / 1.209 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003904/0.5505, allocations: 108.7 kB / 1.209 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.208e-05/0.5505, allocations: 4 kB / 1.209 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.5517, allocations: 1.363 MB / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.5519, allocations: 0 / 1.21 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.5519, allocations: 7.969 kB / 1.21 GB, free: 9.391 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.0001589/0.5521, allocations: 274.5 kB / 1.21 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.468e-05/0.5522, allocations: 116.8 kB / 1.21 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.469e-05/0.5522, allocations: 113.5 kB / 1.211 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.09e-05/0.5523, allocations: 180.3 kB / 1.211 GB, free: 8.691 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.337e-05/0.5524, allocations: 180.2 kB / 1.211 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.754e-05/0.5524, allocations: 192.2 kB / 1.211 GB, free: 8.312 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.5527, allocations: 453 kB / 1.212 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.702e-05/0.5528, allocations: 105 kB / 1.212 GB, free: 7.703 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.5528, allocations: 105 kB / 1.212 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.132e-05/0.5529, allocations: 180.2 kB / 1.212 GB, free: 7.41 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.151e-05/0.553, allocations: 176.5 kB / 1.212 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.363e-05/0.553, allocations: 184.2 kB / 1.212 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.717e-05/0.5531, allocations: 188.3 kB / 1.212 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.5533, allocations: 319.5 kB / 1.213 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.5534, allocations: 190 kB / 1.213 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.5535, allocations: 196.2 kB / 1.213 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.5537, allocations: 101 kB / 1.213 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.5538, allocations: 180.3 kB / 1.213 GB, free: 5.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-05/0.5538, allocations: 108.9 kB / 1.213 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002086/0.554, allocations: 169.1 kB / 1.214 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.554, allocations: 0 / 1.214 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004249/0.5545, allocations: 68 kB / 1.214 GB, free: 5.473 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.0002823/0.5548, allocations: 210.4 kB / 1.214 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005908/0.5554, allocations: 301.3 kB / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5554, allocations: 0 / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 3.186e-06/0.5554, allocations: 0 / 1.214 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.5559, allocations: 0.5458 MB / 1.215 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.5564, allocations: 341.4 kB / 1.215 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.5567, allocations: 0.6967 MB / 1.216 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.196e-05/0.5568, allocations: 20.48 kB / 1.216 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.5568, allocations: 15.44 kB / 1.216 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.5568, allocations: 0 / 1.216 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of Templates: time 0.006788/0.5636, allocations: 2.929 MB / 1.219 GB, free: 388 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