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.001411/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001759/0.001759, allocations: 195.9 kB / 16.14 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.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.594 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.903/2.903, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 63.91 kB / 0.8686 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7397, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003061/0.7428, allocations: 1.752 MB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1848/0.9276, allocations: 146.1 MB / 1.161 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.9277, allocations: 0 / 1.161 GB, free: 14.32 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.928, allocations: 41.72 kB / 1.161 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00116/0.9292, allocations: 394.4 kB / 1.161 GB, free: 13.9 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001286/0.9293, allocations: 51.92 kB / 1.162 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.9295, allocations: 139.3 kB / 1.162 GB, free: 13.71 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.9295, allocations: 9.391 kB / 1.162 GB, free: 13.7 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.482e-05/0.9296, allocations: 55.78 kB / 1.162 GB, free: 13.64 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.9298, allocations: 75.67 kB / 1.162 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.9298, allocations: 4 kB / 1.162 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001031/0.9308, allocations: 0.569 MB / 1.162 GB, free: 13 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.9309, allocations: 19.91 kB / 1.162 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.763e-05/0.931, allocations: 51.73 kB / 1.162 GB, free: 12.93 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006747/0.9316, allocations: 395 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9317, allocations: 0 / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.272e-06/0.9317, allocations: 0 / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.9317, allocations: 0 / 1.163 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.0007846/0.9325, allocations: 482.7 kB / 1.163 GB, free: 12.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.9325, allocations: 12.03 kB / 1.163 GB, free: 12.01 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.9338, allocations: 176 kB / 1.163 GB, free: 11.84 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004447/0.9342, allocations: 304.8 kB / 1.164 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.9343, allocations: 158.5 kB / 1.164 GB, free: 11.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.9344, allocations: 158.5 kB / 1.164 GB, free: 11.19 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.9346, allocations: 105 kB / 1.164 GB, free: 11.08 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.9346, allocations: 79.28 kB / 1.164 GB, free: 11 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.508e-05/0.9347, allocations: 158.6 kB / 1.164 GB, free: 10.84 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.793e-05/0.9348, allocations: 150.6 kB / 1.165 GB, free: 10.7 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.9348, allocations: 150.6 kB / 1.165 GB, free: 10.55 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.9353, allocations: 0.5095 MB / 1.165 GB, free: 9.988 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.9354, allocations: 173.1 kB / 1.165 GB, free: 9.809 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.327e-05/0.9355, allocations: 80.14 kB / 1.165 GB, free: 9.727 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.9355, allocations: 75.28 kB / 1.165 GB, free: 9.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.83e-05/0.9356, allocations: 109.8 kB / 1.166 GB, free: 9.535 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 3.145e-06/0.9356, allocations: 0 / 1.166 GB, free: 9.535 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003191/0.9359, allocations: 69.38 kB / 1.166 GB, free: 9.461 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.936, allocations: 130.7 kB / 1.166 GB, free: 9.32 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.9364, allocations: 219.1 kB / 1.166 GB, free: 9.098 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.9364, allocations: 25.7 kB / 1.166 GB, free: 9.066 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.9365, allocations: 104.1 kB / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.9365, allocations: 0 / 1.166 GB, free: 8.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.9366, allocations: 29.7 kB / 1.166 GB, free: 8.926 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.9368, allocations: 322.8 kB / 1.166 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.792e-05/0.9369, allocations: 20.86 kB / 1.166 GB, free: 8.578 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.14e-05/0.937, allocations: 19.98 kB / 1.166 GB, free: 8.559 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.229e-05/0.9371, allocations: 28.8 kB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.9371, allocations: 0 / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006733/0.9377, allocations: 138.2 kB / 1.167 GB, free: 8.383 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.9378, allocations: 8 kB / 1.167 GB, free: 8.375 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.9378, allocations: 3.984 kB / 1.167 GB, free: 8.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008426/0.9386, allocations: 144.7 kB / 1.167 GB, free: 8.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.9387, allocations: 7.938 kB / 1.167 GB, free: 8.219 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.9409, allocations: 1.51 MB / 1.168 GB, free: 6.574 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.9411, allocations: 7.906 kB / 1.168 GB, free: 6.566 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-06/0.9411, allocations: 0 / 1.168 GB, free: 6.566 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.645e-05/0.9412, allocations: 104.1 kB / 1.168 GB, free: 6.461 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.802e-05/0.9412, allocations: 16 kB / 1.168 GB, free: 6.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.769e-05/0.9413, allocations: 24.86 kB / 1.168 GB, free: 6.418 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.62e-07/0.9413, allocations: 0 / 1.168 GB, free: 6.418 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002576/0.9416, allocations: 114.3 kB / 1.169 GB, free: 6.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.9416, allocations: 4 kB / 1.169 GB, free: 6.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.9416, allocations: 4 kB / 1.169 GB, free: 6.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003871/0.942, allocations: 100.7 kB / 1.169 GB, free: 6.188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.135e-05/0.9421, allocations: 11.98 kB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.9436, allocations: 1.359 MB / 1.17 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.9437, allocations: 12.02 kB / 1.17 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-06/0.9438, allocations: 4.062 kB / 1.17 GB, free: 4.672 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.0001774/0.9439, allocations: 255.5 kB / 1.17 GB, free: 4.414 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.504e-05/0.944, allocations: 116.8 kB / 1.17 GB, free: 4.293 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.9441, allocations: 125.4 kB / 1.17 GB, free: 4.164 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.171e-05/0.9442, allocations: 176.3 kB / 1.171 GB, free: 3.984 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.523e-05/0.9443, allocations: 184.2 kB / 1.171 GB, free: 3.797 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.062e-05/0.9444, allocations: 176.3 kB / 1.171 GB, free: 3.617 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003381/0.9448, allocations: 449.1 kB / 1.171 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-05/0.9448, allocations: 104.9 kB / 1.171 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.9449, allocations: 109 kB / 1.172 GB, free: 2.898 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.088e-05/0.945, allocations: 184.2 kB / 1.172 GB, free: 2.711 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-05/0.9451, allocations: 184.3 kB / 1.172 GB, free: 2.523 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.551e-05/0.9452, allocations: 176.3 kB / 1.172 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.932e-05/0.9452, allocations: 180.2 kB / 1.172 GB, free: 2.16 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.9455, allocations: 319.6 kB / 1.173 GB, free: 1.824 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.9456, allocations: 198 kB / 1.173 GB, free: 1.605 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.9457, allocations: 180.2 kB / 1.173 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.9459, allocations: 112.9 kB / 1.173 GB, free: 1.305 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001794/0.9461, allocations: 180.3 kB / 1.173 GB, free: 1.121 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.042e-05/0.9462, allocations: 108.9 kB / 1.173 GB, free: 1.008 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002432/0.9464, allocations: 169.1 kB / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9464, allocations: 0 / 1.174 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0004624/0.9469, allocations: 64 kB / 1.174 GB, free: 0.7812 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.000302/0.9472, allocations: 211.3 kB / 1.174 GB, free: 0.5625 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0005695/0.9478, allocations: 301.3 kB / 1.174 GB, free: 248 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.9478, allocations: 4 kB / 1.174 GB, free: 244 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.9478, allocations: 3.938 kB / 1.174 GB, free: 240 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.9486, allocations: 0.5445 MB / 1.175 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004133/0.949, allocations: 313.1 kB / 1.175 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.9493, allocations: 0.6967 MB / 1.176 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.876e-05/0.9494, allocations: 16.48 kB / 1.176 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.9495, allocations: 11.44 kB / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of SimCode: time 4.61e-07/0.9495, allocations: 0 / 1.176 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of Templates: time 0.007195/0.9567, allocations: 2.959 MB / 1.178 GB, free: 11.68 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=400 -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