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.001764/0.001764, allocations: 104.3 kB / 16.27 MB, free: 6.051 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.001949/0.001949, allocations: 187.9 kB / 17.2 MB, free: 5.684 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.484/1.484, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.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.748/2.748, allocations: 437.1 MB / 0.711 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 79.44 kB / 0.8699 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.357, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003955/0.361, allocations: 1.691 MB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.7108/1.072, allocations: 148.4 MB / 1.165 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.975e-05/1.072, allocations: 1.156 kB / 1.165 GB, free: 4.578 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0002311/1.072, allocations: 48.92 kB / 1.165 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/1.073, allocations: 432 kB / 1.165 GB, free: 4.34 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001578/1.074, allocations: 67.2 kB / 1.165 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0002037/1.074, allocations: 141.6 kB / 1.165 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/1.074, allocations: 11.17 kB / 1.165 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 7.556e-05/1.074, allocations: 56.28 kB / 1.165 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001811/1.074, allocations: 69.33 kB / 1.165 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/1.074, allocations: 12.69 kB / 1.165 GB, free: 4.172 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/1.075, allocations: 0.4994 MB / 1.166 GB, free: 3.992 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.493e-05/1.075, allocations: 27.83 kB / 1.166 GB, free: 3.977 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 6.874e-05/1.075, allocations: 55.42 kB / 1.166 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0006038/1.076, allocations: 371.6 kB / 1.166 GB, free: 3.832 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/1.076, allocations: 3.938 kB / 1.166 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.112e-06/1.076, allocations: 1.031 kB / 1.166 GB, free: 3.828 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 5.631e-06/1.076, allocations: 0 / 1.166 GB, free: 3.828 MB / 0.8731 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.0007473/1.077, allocations: 480.5 kB / 1.167 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/1.077, allocations: 9.344 kB / 1.167 GB, free: 3.391 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/1.078, allocations: 176.7 kB / 1.167 GB, free: 3.305 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/1.078, allocations: 314.2 kB / 1.167 GB, free: 2.996 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/1.079, allocations: 159.5 kB / 1.167 GB, free: 2.84 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.338e-05/1.079, allocations: 155.8 kB / 1.168 GB, free: 2.691 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.728e-05/1.079, allocations: 101 kB / 1.168 GB, free: 2.586 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.654e-05/1.079, allocations: 75.28 kB / 1.168 GB, free: 2.512 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.476e-05/1.079, allocations: 160.2 kB / 1.168 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.446e-05/1.079, allocations: 150.6 kB / 1.168 GB, free: 2.207 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.014e-05/1.079, allocations: 150.6 kB / 1.168 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/1.079, allocations: 0.51 MB / 1.169 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 9.503e-05/1.08, allocations: 174.2 kB / 1.169 GB, free: 1.371 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.842e-05/1.08, allocations: 81.45 kB / 1.169 GB, free: 1.289 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/1.08, allocations: 79.22 kB / 1.169 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.638e-05/1.08, allocations: 107 kB / 1.169 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/1.08, allocations: 3.938 kB / 1.169 GB, free: 1.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 0.0003532/1.08, allocations: 71.27 kB / 1.169 GB, free: 1.043 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/1.08, allocations: 126.7 kB / 1.169 GB, free: 0.9062 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/1.08, allocations: 217.9 kB / 1.169 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/1.08, allocations: 27.2 kB / 1.17 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/1.081, allocations: 104.4 kB / 1.17 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.277e-06/1.081, allocations: 0 / 1.17 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.396e-05/1.081, allocations: 23.25 kB / 1.17 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001541/1.081, allocations: 323.8 kB / 1.17 GB, free: 304 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.362e-05/1.081, allocations: 24.3 kB / 1.17 GB, free: 288 kB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.095e-05/1.081, allocations: 14.72 kB / 1.17 GB, free: 284 kB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.581e-05/1.081, allocations: 30.77 kB / 1.17 GB, free: 264 kB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.081, allocations: 4.969 kB / 1.17 GB, free: 260 kB / 0.8731 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006417/1.082, allocations: 137.5 kB / 1.17 GB, free: 188 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.082, allocations: 5.562 kB / 1.17 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/1.082, allocations: 0 / 1.17 GB, free: 188 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009612/1.083, allocations: 147.3 kB / 1.17 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/1.083, allocations: 7.109 kB / 1.17 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002404/1.085, allocations: 1.621 MB / 1.172 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.085, allocations: 6.406 kB / 1.172 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.085, allocations: 2.312 kB / 1.172 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 9.297e-05/1.085, allocations: 100.7 kB / 1.172 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.322e-05/1.086, allocations: 14.27 kB / 1.172 GB, free: 14.53 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.246e-05/1.086, allocations: 28.14 kB / 1.172 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.72e-07/1.086, allocations: 0 / 1.172 GB, free: 14.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.000259/1.086, allocations: 112.2 kB / 1.172 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.086, allocations: 7.219 kB / 1.172 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/1.086, allocations: 1.219 kB / 1.172 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003684/1.086, allocations: 114 kB / 1.172 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-05/1.086, allocations: 4.312 kB / 1.172 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/1.088, allocations: 1.462 MB / 1.174 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/1.088, allocations: 13.23 kB / 1.174 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/1.088, allocations: 8.484 kB / 1.174 GB, free: 12.95 MB / 0.8887 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.0001441/1.088, allocations: 256.8 kB / 1.174 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.105e-05/1.088, allocations: 122.1 kB / 1.174 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/1.088, allocations: 116.7 kB / 1.174 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.489e-05/1.088, allocations: 181.7 kB / 1.174 GB, free: 12.28 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-05/1.088, allocations: 181.6 kB / 1.175 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.842e-05/1.088, allocations: 177.6 kB / 1.175 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/1.089, allocations: 450.4 kB / 1.175 GB, free: 11.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/1.089, allocations: 104 kB / 1.175 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.605e-05/1.089, allocations: 102.2 kB / 1.175 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.382e-05/1.089, allocations: 183.9 kB / 1.175 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/1.089, allocations: 181.4 kB / 1.176 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.909e-05/1.089, allocations: 181.4 kB / 1.176 GB, free: 10.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-05/1.089, allocations: 184.3 kB / 1.176 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/1.089, allocations: 310 kB / 1.176 GB, free: 10.18 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.09, allocations: 198.1 kB / 1.176 GB, free: 9.973 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/1.09, allocations: 193.1 kB / 1.177 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/1.09, allocations: 109.8 kB / 1.177 GB, free: 9.672 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/1.09, allocations: 177.4 kB / 1.177 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.292e-05/1.09, allocations: 106.1 kB / 1.177 GB, free: 9.383 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002194/1.09, allocations: 162.6 kB / 1.177 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/1.09, allocations: 0 / 1.177 GB, free: 9.281 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004739/1.091, allocations: 70.31 kB / 1.177 GB, free: 9.27 MB / 0.8887 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.0003174/1.091, allocations: 206.9 kB / 1.177 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0005906/1.092, allocations: 303.4 kB / 1.178 GB, free: 8.848 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.092, allocations: 4 kB / 1.178 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/1.092, allocations: 0 / 1.178 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/1.092, allocations: 482 kB / 1.178 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/1.093, allocations: 334.8 kB / 1.179 GB, free: 8.105 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/1.093, allocations: 0.7075 MB / 1.179 GB, free: 7.398 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.88e-05/1.093, allocations: 14.33 kB / 1.179 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of SimCode: time 3.91e-07/1.093, allocations: 0 / 1.179 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of Templates: time 0.00484/1.098, allocations: 2.388 MB / 1.182 GB, free: 6.559 MB / 0.8887 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