Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001128/0.001128, allocations: 103.8 kB / 15.98 MB, free: 5.891 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.001325/0.001325, allocations: 188.8 kB / 16.91 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 240.6 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7107 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 67.89 kB / 0.8694 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7668/0.7682, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003063/0.7713, allocations: 1.748 MB / 1.019 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1761/0.9475, allocations: 146.3 MB / 1.162 GB, free: 14.2 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.9476, allocations: 0 / 1.162 GB, free: 14.2 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.9479, allocations: 49.69 kB / 1.162 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.9493, allocations: 402.4 kB / 1.162 GB, free: 13.76 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.9495, allocations: 55.89 kB / 1.163 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.9497, allocations: 139.4 kB / 1.163 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.625e-05/0.9498, allocations: 13.39 kB / 1.163 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.488e-05/0.9498, allocations: 51.78 kB / 1.163 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.95, allocations: 67.75 kB / 1.163 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.9501, allocations: 12 kB / 1.163 GB, free: 13.43 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009712/0.951, allocations: 0.53 MB / 1.163 GB, free: 12.89 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/0.9511, allocations: 27.91 kB / 1.163 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.9512, allocations: 51.73 kB / 1.163 GB, free: 12.82 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004827/0.9516, allocations: 279.3 kB / 1.164 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.9517, allocations: 0 / 1.164 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9517, allocations: 4 kB / 1.164 GB, free: 12.54 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.9517, allocations: 0 / 1.164 GB, free: 12.54 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007936/0.9525, allocations: 486.7 kB / 1.164 GB, free: 12.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.9525, allocations: 8.031 kB / 1.164 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001227/0.9538, allocations: 171.9 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003768/0.9542, allocations: 312.2 kB / 1.165 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.872e-05/0.9542, allocations: 162.4 kB / 1.165 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.9543, allocations: 154.6 kB / 1.165 GB, free: 11.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.265e-05/0.9544, allocations: 101 kB / 1.165 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.9544, allocations: 75.28 kB / 1.165 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.97e-05/0.9545, allocations: 154.6 kB / 1.165 GB, free: 10.85 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.076e-05/0.9545, allocations: 154.5 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.9546, allocations: 158.5 kB / 1.165 GB, free: 10.54 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.955, allocations: 0.5134 MB / 1.166 GB, free: 9.98 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.9551, allocations: 169.1 kB / 1.166 GB, free: 9.805 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.202e-05/0.9552, allocations: 84.14 kB / 1.166 GB, free: 9.719 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.9552, allocations: 83.27 kB / 1.166 GB, free: 9.637 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.469e-05/0.9553, allocations: 105.8 kB / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.423e-06/0.9553, allocations: 0 / 1.166 GB, free: 9.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003116/0.9556, allocations: 61.44 kB / 1.166 GB, free: 9.457 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.9557, allocations: 130.7 kB / 1.167 GB, free: 9.316 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.956, allocations: 219.7 kB / 1.167 GB, free: 9.094 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.956, allocations: 33.64 kB / 1.167 GB, free: 9.055 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.9561, allocations: 104.1 kB / 1.167 GB, free: 8.949 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.796e-06/0.9561, allocations: 0 / 1.167 GB, free: 8.949 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.9562, allocations: 25.7 kB / 1.167 GB, free: 8.918 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9563, allocations: 322.8 kB / 1.167 GB, free: 8.594 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.9563, allocations: 20.86 kB / 1.167 GB, free: 8.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.466e-05/0.9564, allocations: 20 kB / 1.167 GB, free: 8.551 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.692e-05/0.9565, allocations: 28.78 kB / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9565, allocations: 0 / 1.167 GB, free: 8.52 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006516/0.9571, allocations: 142.3 kB / 1.167 GB, free: 8.371 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.9572, allocations: 4 kB / 1.167 GB, free: 8.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.9572, allocations: 0 / 1.167 GB, free: 8.367 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008427/0.958, allocations: 148.6 kB / 1.168 GB, free: 8.219 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.193e-05/0.9581, allocations: 4.188 kB / 1.168 GB, free: 8.215 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.9604, allocations: 1.621 MB / 1.169 GB, free: 6.457 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.9606, allocations: 4.031 kB / 1.169 GB, free: 6.453 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.9607, allocations: 4 kB / 1.169 GB, free: 6.449 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.034e-05/0.9608, allocations: 108.1 kB / 1.169 GB, free: 6.34 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3e-05/0.9608, allocations: 12 kB / 1.169 GB, free: 6.328 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.87e-05/0.9609, allocations: 28.86 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/0.9609, allocations: 0 / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002403/0.9611, allocations: 114.2 kB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.9611, allocations: 8 kB / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.9611, allocations: 0 / 1.169 GB, free: 6.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003877/0.9615, allocations: 116.6 kB / 1.17 GB, free: 6.051 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.739e-05/0.9616, allocations: 7.984 kB / 1.17 GB, free: 6.043 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.9628, allocations: 1.461 MB / 1.171 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.963, allocations: 0 / 1.171 GB, free: 4.445 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.963, allocations: 4.031 kB / 1.171 GB, free: 4.441 MB / 0.92 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.0001371/0.9631, allocations: 258.7 kB / 1.171 GB, free: 4.184 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.95e-05/0.9632, allocations: 124.8 kB / 1.171 GB, free: 4.055 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.9633, allocations: 121.4 kB / 1.172 GB, free: 3.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.125e-05/0.9634, allocations: 180.3 kB / 1.172 GB, free: 3.746 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.746e-05/0.9634, allocations: 180.2 kB / 1.172 GB, free: 3.562 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/0.9635, allocations: 176.3 kB / 1.172 GB, free: 3.383 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.9638, allocations: 457.1 kB / 1.172 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.635e-05/0.9639, allocations: 101 kB / 1.173 GB, free: 2.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.9639, allocations: 105 kB / 1.173 GB, free: 2.664 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.152e-05/0.964, allocations: 184.2 kB / 1.173 GB, free: 2.477 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.388e-05/0.9641, allocations: 184.2 kB / 1.173 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-05/0.9641, allocations: 180.2 kB / 1.173 GB, free: 2.105 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.95e-05/0.9642, allocations: 184.2 kB / 1.173 GB, free: 1.918 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.9644, allocations: 311.7 kB / 1.174 GB, free: 1.59 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.9645, allocations: 194.3 kB / 1.174 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.9646, allocations: 188.1 kB / 1.174 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.9648, allocations: 117 kB / 1.174 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.755e-05/0.9649, allocations: 176.3 kB / 1.174 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.495e-05/0.9649, allocations: 104.9 kB / 1.174 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001985/0.9651, allocations: 165.2 kB / 1.175 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9651, allocations: 0 / 1.175 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004483/0.9656, allocations: 68 kB / 1.175 GB, free: 0.5469 MB / 0.92 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.000307/0.9659, allocations: 210.5 kB / 1.175 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005641/0.9665, allocations: 301.2 kB / 1.175 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.9665, allocations: 0 / 1.175 GB, free: 8 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.9665, allocations: 7.938 kB / 1.175 GB, free: 0 / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005398/0.9671, allocations: 487.8 kB / 1.176 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004517/0.9675, allocations: 338.8 kB / 1.176 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.9678, allocations: 0.7044 MB / 1.177 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.9679, allocations: 11.44 kB / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of SimCode: time 2.2e-07/0.9679, allocations: 0 / 1.177 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of Templates: time 0.004896/0.9728, allocations: 2.384 MB / 1.179 GB, free: 12.04 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches