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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001089/0.001089, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001487/0.001486, allocations: 172.7 kB / 15.95 MB, free: 208 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.557/1.557, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.872/2.872, allocations: 437.7 MB / 0.7117 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 12 kB / 0.8722 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8859/0.8864, allocations: 153.8 MB / 1.022 GB, free: 24 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.001852/0.8883, allocations: 1.378 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1595/1.048, allocations: 134.8 MB / 1.155 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/1.048, allocations: 0 / 1.155 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0002084/1.048, allocations: 39.81 kB / 1.155 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/1.049, allocations: 314.5 kB / 1.156 GB, free: 7.117 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/1.049, allocations: 47.89 kB / 1.156 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000194/1.05, allocations: 135.3 kB / 1.156 GB, free: 6.938 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/1.05, allocations: 7.375 kB / 1.156 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/1.05, allocations: 47.8 kB / 1.156 GB, free: 6.883 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/1.05, allocations: 63.8 kB / 1.156 GB, free: 6.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/1.05, allocations: 4 kB / 1.156 GB, free: 6.816 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009085/1.051, allocations: 363.2 kB / 1.156 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.057e-05/1.051, allocations: 23.91 kB / 1.156 GB, free: 6.438 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/1.051, allocations: 45.58 kB / 1.156 GB, free: 6.387 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004245/1.052, allocations: 251.4 kB / 1.157 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/1.052, allocations: 0 / 1.157 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.307e-06/1.052, allocations: 0 / 1.157 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.551e-06/1.052, allocations: 0 / 1.157 GB, free: 6.141 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0007169/1.052, allocations: 474.5 kB / 1.157 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/1.052, allocations: 16.56 kB / 1.157 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/1.053, allocations: 179 kB / 1.157 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003492/1.054, allocations: 306.9 kB / 1.158 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.64e-05/1.054, allocations: 158.6 kB / 1.158 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/1.054, allocations: 150.6 kB / 1.158 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.627e-05/1.054, allocations: 112.9 kB / 1.158 GB, free: 4.676 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/1.054, allocations: 75.28 kB / 1.158 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.57e-05/1.054, allocations: 150.6 kB / 1.158 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.772e-05/1.054, allocations: 154.6 kB / 1.158 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.587e-05/1.054, allocations: 150.6 kB / 1.159 GB, free: 4.152 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/1.055, allocations: 0.5057 MB / 1.159 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.437e-05/1.055, allocations: 177 kB / 1.159 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.597e-05/1.055, allocations: 88.14 kB / 1.159 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.038e-05/1.055, allocations: 79.27 kB / 1.159 GB, free: 3.246 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/1.055, allocations: 105.8 kB / 1.159 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.402e-06/1.055, allocations: 0 / 1.159 GB, free: 3.133 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 0.0002826/1.055, allocations: 53.59 kB / 1.159 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.055, allocations: 134.6 kB / 1.16 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003183/1.056, allocations: 223.6 kB / 1.16 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/1.056, allocations: 29.7 kB / 1.16 GB, free: 2.668 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/1.056, allocations: 96.14 kB / 1.16 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/1.056, allocations: 0 / 1.16 GB, free: 2.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-06/1.056, allocations: 4 kB / 1.16 GB, free: 2.566 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001336/1.056, allocations: 322.8 kB / 1.16 GB, free: 2.242 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/1.056, allocations: 15.98 kB / 1.16 GB, free: 2.227 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.254e-05/1.056, allocations: 16 kB / 1.16 GB, free: 2.211 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/1.056, allocations: 16 kB / 1.16 GB, free: 2.195 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/1.056, allocations: 4 kB / 1.16 GB, free: 2.191 MB / 0.9044 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006033/1.057, allocations: 142.2 kB / 1.16 GB, free: 2.043 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/1.057, allocations: 97 kB / 1.161 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.057, allocations: 0 / 1.161 GB, free: 1.941 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00074/1.058, allocations: 144.7 kB / 1.161 GB, free: 1.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/1.058, allocations: 11.98 kB / 1.161 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.06, allocations: 1.503 MB / 1.162 GB, free: 152 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/1.06, allocations: 8.031 kB / 1.162 GB, free: 144 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.06, allocations: 4 kB / 1.162 GB, free: 140 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.7e-06/1.06, allocations: 0 / 1.162 GB, free: 140 kB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001807/1.06, allocations: 68.77 kB / 1.162 GB, free: 68 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.06, allocations: 7.984 kB / 1.162 GB, free: 60 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003426/1.061, allocations: 112.8 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.191e-05/1.061, allocations: 4 kB / 1.162 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001166/1.062, allocations: 1.355 MB / 1.164 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/1.062, allocations: 11.88 kB / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-06/1.062, allocations: 0 / 1.164 GB, free: 14.45 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 (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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.062, allocations: 272.4 kB / 1.164 GB, free: 14.17 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.83e-05/1.062, allocations: 120.8 kB / 1.164 GB, free: 14.04 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/1.062, allocations: 113.7 kB / 1.164 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.545e-05/1.062, allocations: 184.2 kB / 1.164 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.198e-05/1.062, allocations: 184.2 kB / 1.165 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.17e-05/1.063, allocations: 176.3 kB / 1.165 GB, free: 13.37 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003081/1.063, allocations: 453 kB / 1.165 GB, free: 12.87 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.461e-05/1.063, allocations: 105 kB / 1.165 GB, free: 12.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.49e-05/1.063, allocations: 104.9 kB / 1.165 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.441e-05/1.063, allocations: 176.3 kB / 1.165 GB, free: 12.47 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-05/1.063, allocations: 184.2 kB / 1.166 GB, free: 12.29 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.798e-05/1.063, allocations: 184.4 kB / 1.166 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/1.063, allocations: 176.4 kB / 1.166 GB, free: 11.92 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001574/1.063, allocations: 327.6 kB / 1.166 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/1.064, allocations: 205.9 kB / 1.167 GB, free: 11.35 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/1.064, allocations: 184.2 kB / 1.167 GB, free: 11.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/1.064, allocations: 105 kB / 1.167 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.243e-05/1.064, allocations: 192.2 kB / 1.167 GB, free: 10.86 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.064, allocations: 101 kB / 1.167 GB, free: 10.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002017/1.064, allocations: 161.2 kB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/1.064, allocations: 3.938 kB / 1.167 GB, free: 10.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004837/1.065, allocations: 67.98 kB / 1.167 GB, free: 10.52 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002987/1.065, allocations: 210.5 kB / 1.167 GB, free: 10.3 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005714/1.066, allocations: 297.3 kB / 1.168 GB, free: 9.988 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.066, allocations: 0 / 1.168 GB, free: 9.988 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-06/1.066, allocations: 4 kB / 1.168 GB, free: 9.984 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/1.066, allocations: 0.5498 MB / 1.168 GB, free: 9.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/1.067, allocations: 325.4 kB / 1.169 GB, free: 9.086 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.067, allocations: 0.7006 MB / 1.169 GB, free: 8.359 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.745e-05/1.067, allocations: 8.562 kB / 1.169 GB, free: 8.348 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.83e-05/1.067, allocations: 15.44 kB / 1.169 GB, free: 8.332 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/1.067, allocations: 3.938 kB / 1.169 GB, free: 8.328 MB / 0.92 GB Notification: Performance of Templates: time 0.006264/1.073, allocations: 2.87 MB / 1.172 GB, free: 5.496 MB / 0.92 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/jenkins/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