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.001806/0.001806, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00248/0.00248, allocations: 191.8 kB / 16.25 MB, free: 6.637 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.434/1.434, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.827/2.827, allocations: 437 MB / 0.71 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.91 kB / 0.8687 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6784/0.6799, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002877/0.6829, allocations: 1.752 MB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1607/0.8435, allocations: 146.3 MB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.629e-05/0.8437, allocations: 4 kB / 1.161 GB, free: 14.14 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.8439, allocations: 41.72 kB / 1.161 GB, free: 14.1 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001155/0.8451, allocations: 402.4 kB / 1.162 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.8452, allocations: 55.94 kB / 1.162 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001926/0.8454, allocations: 147.3 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.8455, allocations: 5.406 kB / 1.162 GB, free: 13.5 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.8456, allocations: 59.78 kB / 1.162 GB, free: 13.44 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.8457, allocations: 71.73 kB / 1.162 GB, free: 13.37 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.8458, allocations: 8 kB / 1.162 GB, free: 13.36 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000877/0.8467, allocations: 0.53 MB / 1.163 GB, free: 12.83 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.479e-05/0.8467, allocations: 19.91 kB / 1.163 GB, free: 12.81 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.8e-05/0.8468, allocations: 59.72 kB / 1.163 GB, free: 12.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/0.8474, allocations: 387 kB / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.8474, allocations: 4 kB / 1.163 GB, free: 12.37 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8474, allocations: 3.938 kB / 1.163 GB, free: 12.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.8474, allocations: 3.938 kB / 1.163 GB, free: 12.36 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.0006922/0.8481, allocations: 482.7 kB / 1.164 GB, free: 11.84 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.8482, allocations: 8.031 kB / 1.164 GB, free: 11.83 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001224/0.8494, allocations: 183.9 kB / 1.164 GB, free: 11.65 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.8498, allocations: 312.2 kB / 1.164 GB, free: 11.31 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.646e-05/0.8498, allocations: 154.5 kB / 1.164 GB, free: 11.16 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.464e-05/0.8499, allocations: 162.5 kB / 1.164 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.379e-05/0.85, allocations: 101 kB / 1.164 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.267e-05/0.85, allocations: 79.28 kB / 1.164 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.8501, allocations: 150.6 kB / 1.165 GB, free: 10.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.463e-05/0.8501, allocations: 150.6 kB / 1.165 GB, free: 10.52 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.914e-05/0.8502, allocations: 154.6 kB / 1.165 GB, free: 10.36 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003697/0.8505, allocations: 0.5095 MB / 1.165 GB, free: 9.805 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.8506, allocations: 177.1 kB / 1.166 GB, free: 9.621 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.878e-05/0.8507, allocations: 80.14 kB / 1.166 GB, free: 9.539 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.8507, allocations: 75.28 kB / 1.166 GB, free: 9.465 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.8508, allocations: 105.8 kB / 1.166 GB, free: 9.352 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.8508, allocations: 3.938 kB / 1.166 GB, free: 9.348 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003297/0.8511, allocations: 73.42 kB / 1.166 GB, free: 9.27 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.8512, allocations: 126.7 kB / 1.166 GB, free: 9.133 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.8515, allocations: 219.7 kB / 1.166 GB, free: 8.91 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.8515, allocations: 25.7 kB / 1.166 GB, free: 8.879 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.769e-05/0.8516, allocations: 108.1 kB / 1.166 GB, free: 8.77 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.8516, allocations: 0 / 1.166 GB, free: 8.77 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/0.8516, allocations: 25.72 kB / 1.166 GB, free: 8.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8517, allocations: 318.8 kB / 1.167 GB, free: 8.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.919e-05/0.8518, allocations: 24.84 kB / 1.167 GB, free: 8.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.8518, allocations: 20 kB / 1.167 GB, free: 8.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.643e-05/0.8519, allocations: 32.78 kB / 1.167 GB, free: 8.336 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.8519, allocations: 0 / 1.167 GB, free: 8.336 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000634/0.8525, allocations: 138.5 kB / 1.167 GB, free: 8.191 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.8526, allocations: 4 kB / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.8526, allocations: 0 / 1.167 GB, free: 8.188 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008304/0.8534, allocations: 148.6 kB / 1.167 GB, free: 8.039 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.8535, allocations: 4 kB / 1.167 GB, free: 8.035 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/0.8555, allocations: 1.629 MB / 1.169 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001687/0.8557, allocations: 0 / 1.169 GB, free: 6.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.8557, allocations: 4.062 kB / 1.169 GB, free: 6.266 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.713e-05/0.8558, allocations: 104.1 kB / 1.169 GB, free: 6.16 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.308e-05/0.8559, allocations: 16 kB / 1.169 GB, free: 6.145 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.38e-05/0.8559, allocations: 24.86 kB / 1.169 GB, free: 6.117 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.72e-07/0.8559, allocations: 0 / 1.169 GB, free: 6.117 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002319/0.8562, allocations: 110.2 kB / 1.169 GB, free: 6 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.8562, allocations: 11.98 kB / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.8562, allocations: 0 / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003873/0.8566, allocations: 108.7 kB / 1.169 GB, free: 5.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.43e-05/0.8566, allocations: 4.188 kB / 1.169 GB, free: 5.875 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.8578, allocations: 1.465 MB / 1.17 GB, free: 4.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.858, allocations: 7.984 kB / 1.17 GB, free: 4.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.858, allocations: 4.031 kB / 1.17 GB, free: 4.262 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.0001127/0.8581, allocations: 256.1 kB / 1.171 GB, free: 4.004 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.8582, allocations: 120.7 kB / 1.171 GB, free: 3.879 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.318e-05/0.8583, allocations: 121.4 kB / 1.171 GB, free: 3.754 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.503e-05/0.8583, allocations: 180.3 kB / 1.171 GB, free: 3.57 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-05/0.8584, allocations: 180.2 kB / 1.171 GB, free: 3.387 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.546e-05/0.8585, allocations: 180.3 kB / 1.171 GB, free: 3.203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.8587, allocations: 445.2 kB / 1.172 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.011e-05/0.8588, allocations: 108.9 kB / 1.172 GB, free: 2.598 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.999e-05/0.8588, allocations: 101 kB / 1.172 GB, free: 2.492 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-05/0.8589, allocations: 184.2 kB / 1.172 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.601e-05/0.8589, allocations: 188.2 kB / 1.172 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.064e-05/0.859, allocations: 184.2 kB / 1.173 GB, free: 1.926 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.969e-05/0.8591, allocations: 176.3 kB / 1.173 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001464/0.8592, allocations: 315.7 kB / 1.173 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.8593, allocations: 194.3 kB / 1.173 GB, free: 1.199 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.8594, allocations: 188.1 kB / 1.173 GB, free: 1.008 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.8596, allocations: 113 kB / 1.174 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.8597, allocations: 176.3 kB / 1.174 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.8597, allocations: 112.9 kB / 1.174 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.000202/0.8599, allocations: 161.2 kB / 1.174 GB, free: 448 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.61e-07/0.86, allocations: 0 / 1.174 GB, free: 448 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004165/0.8604, allocations: 72 kB / 1.174 GB, free: 376 kB / 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.0002573/0.8606, allocations: 214.4 kB / 1.174 GB, free: 148 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005332/0.8612, allocations: 305.5 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8612, allocations: 0 / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.816e-06/0.8612, allocations: 0 / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.8617, allocations: 482.2 kB / 1.175 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.8621, allocations: 320.8 kB / 1.175 GB, free: 15 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.8624, allocations: 0.7043 MB / 1.176 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.633e-05/0.8625, allocations: 12.55 kB / 1.176 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.8625, allocations: 11.44 kB / 1.176 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.8625, allocations: 0 / 1.176 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of Templates: time 0.006901/0.8694, allocations: 3.048 MB / 1.179 GB, free: 11.23 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/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