Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.007673/0.007673, allocations: 98.8 kB / 15.73 MB, free: 6.047 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.00177/0.00177, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7453 GB, free: 4.574 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.91 kB / 1.069 GB, free: 9.172 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3682, allocations: 159.9 MB / 1.226 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002931/0.3712, allocations: 1.695 MB / 1.227 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.9582/1.329, allocations: 148.4 MB / 1.372 GB, free: 9.473 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/1.33, allocations: 0.8438 kB / 1.372 GB, free: 9.473 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0002203/1.33, allocations: 54.34 kB / 1.372 GB, free: 9.441 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001126/1.331, allocations: 431.7 kB / 1.373 GB, free: 9.223 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/1.331, allocations: 61.12 kB / 1.373 GB, free: 9.195 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/1.331, allocations: 146.6 kB / 1.373 GB, free: 9.125 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.205e-05/1.331, allocations: 15.52 kB / 1.373 GB, free: 9.117 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 6.898e-05/1.331, allocations: 58.78 kB / 1.373 GB, free: 9.094 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/1.332, allocations: 60.17 kB / 1.373 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/1.332, allocations: 8.25 kB / 1.373 GB, free: 9.07 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009726/1.333, allocations: 0.5125 MB / 1.374 GB, free: 8.879 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/1.333, allocations: 24.2 kB / 1.374 GB, free: 8.863 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 7.307e-05/1.333, allocations: 56.58 kB / 1.374 GB, free: 8.832 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006312/1.333, allocations: 372.6 kB / 1.374 GB, free: 8.723 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/1.333, allocations: 0 / 1.374 GB, free: 8.723 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/1.333, allocations: 1.406 kB / 1.374 GB, free: 8.723 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.333, allocations: 0 / 1.374 GB, free: 8.723 MB / 1.076 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.0007383/1.334, allocations: 489.6 kB / 1.374 GB, free: 8.273 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.334, allocations: 9.969 kB / 1.374 GB, free: 8.273 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/1.335, allocations: 171.7 kB / 1.375 GB, free: 8.191 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003482/1.336, allocations: 318.7 kB / 1.375 GB, free: 7.879 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.962e-05/1.336, allocations: 163.9 kB / 1.375 GB, free: 7.719 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.753e-05/1.336, allocations: 153.2 kB / 1.375 GB, free: 7.57 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/1.336, allocations: 101.7 kB / 1.375 GB, free: 7.465 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.336, allocations: 76.88 kB / 1.375 GB, free: 7.391 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.498e-05/1.336, allocations: 154.5 kB / 1.376 GB, free: 7.238 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.78e-05/1.336, allocations: 159.5 kB / 1.376 GB, free: 7.082 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.382e-05/1.336, allocations: 156 kB / 1.376 GB, free: 6.93 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/1.337, allocations: 0.51 MB / 1.376 GB, free: 6.422 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 7.78e-05/1.337, allocations: 170.5 kB / 1.376 GB, free: 6.246 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.6e-05/1.337, allocations: 88.14 kB / 1.377 GB, free: 6.156 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/1.337, allocations: 80.91 kB / 1.377 GB, free: 6.078 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.17e-05/1.337, allocations: 105.8 kB / 1.377 GB, free: 5.965 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/1.337, allocations: 0 / 1.377 GB, free: 5.965 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0002791/1.337, allocations: 59.61 kB / 1.377 GB, free: 5.926 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/1.337, allocations: 130.7 kB / 1.377 GB, free: 5.785 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002931/1.337, allocations: 213.5 kB / 1.377 GB, free: 5.648 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/1.337, allocations: 31.27 kB / 1.377 GB, free: 5.613 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/1.338, allocations: 97.78 kB / 1.377 GB, free: 5.52 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.043e-06/1.338, allocations: 1.469 kB / 1.377 GB, free: 5.52 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/1.338, allocations: 22.55 kB / 1.377 GB, free: 5.5 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000109/1.338, allocations: 325.9 kB / 1.378 GB, free: 5.18 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.796e-05/1.338, allocations: 23.14 kB / 1.378 GB, free: 5.164 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.161e-05/1.338, allocations: 20.78 kB / 1.378 GB, free: 5.152 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/1.338, allocations: 30.86 kB / 1.378 GB, free: 5.133 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.338, allocations: 3.938 kB / 1.378 GB, free: 5.129 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005899/1.338, allocations: 143 kB / 1.378 GB, free: 5.055 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.338, allocations: 10.12 kB / 1.378 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.339, allocations: 1.188 kB / 1.378 GB, free: 5.051 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007395/1.339, allocations: 147.2 kB / 1.378 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.785e-05/1.339, allocations: 3.844 kB / 1.378 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001995/1.341, allocations: 1.604 MB / 1.38 GB, free: 3.512 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/1.341, allocations: 9.562 kB / 1.38 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-06/1.342, allocations: 1.344 kB / 1.38 GB, free: 3.508 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.507e-05/1.342, allocations: 104.3 kB / 1.38 GB, free: 3.414 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.099e-05/1.342, allocations: 14.17 kB / 1.38 GB, free: 3.41 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.757e-05/1.342, allocations: 28.83 kB / 1.38 GB, free: 3.391 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.12e-07/1.342, allocations: 0 / 1.38 GB, free: 3.391 MB / 1.076 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002259/1.342, allocations: 111.7 kB / 1.38 GB, free: 3.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/1.342, allocations: 8.531 kB / 1.38 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/1.342, allocations: 2.578 kB / 1.38 GB, free: 3.316 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/1.342, allocations: 112.9 kB / 1.38 GB, free: 3.289 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.225e-05/1.342, allocations: 11.8 kB / 1.38 GB, free: 3.285 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/1.343, allocations: 1.455 MB / 1.381 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/1.344, allocations: 5.219 kB / 1.381 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/1.344, allocations: 5.5 kB / 1.381 GB, free: 1.836 MB / 1.076 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.0001119/1.344, allocations: 259.3 kB / 1.382 GB, free: 1.578 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.789e-05/1.344, allocations: 118.6 kB / 1.382 GB, free: 1.461 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.671e-05/1.344, allocations: 119.2 kB / 1.382 GB, free: 1.34 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-05/1.344, allocations: 181.6 kB / 1.382 GB, free: 1.156 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.869e-05/1.344, allocations: 184.3 kB / 1.382 GB, free: 0.9727 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/1.344, allocations: 185.2 kB / 1.382 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/1.344, allocations: 442 kB / 1.383 GB, free: 340 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.528e-05/1.344, allocations: 105 kB / 1.383 GB, free: 228 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/1.344, allocations: 108.9 kB / 1.383 GB, free: 116 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001754/1.345, allocations: 177.4 kB / 1.383 GB, free: 15.93 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/1.345, allocations: 189.4 kB / 1.383 GB, free: 15.74 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.075e-05/1.345, allocations: 177.5 kB / 1.383 GB, free: 15.56 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.586e-05/1.345, allocations: 180.4 kB / 1.384 GB, free: 15.38 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001648/1.345, allocations: 314.6 kB / 1.384 GB, free: 15.06 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/1.345, allocations: 208 kB / 1.384 GB, free: 14.84 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.995e-05/1.345, allocations: 186.1 kB / 1.384 GB, free: 14.65 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/1.345, allocations: 106.2 kB / 1.384 GB, free: 14.55 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/1.345, allocations: 181.3 kB / 1.385 GB, free: 14.36 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/1.345, allocations: 105 kB / 1.385 GB, free: 14.25 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0001917/1.346, allocations: 173.5 kB / 1.385 GB, free: 14.14 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.41e-07/1.346, allocations: 0 / 1.385 GB, free: 14.14 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0004769/1.346, allocations: 69.81 kB / 1.385 GB, free: 14.13 MB / 1.092 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.0002696/1.346, allocations: 203.8 kB / 1.385 GB, free: 13.96 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005322/1.347, allocations: 310.6 kB / 1.385 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.347, allocations: 0 / 1.385 GB, free: 13.71 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/1.347, allocations: 3.938 kB / 1.385 GB, free: 13.7 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/1.347, allocations: 487.6 kB / 1.386 GB, free: 13.25 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/1.348, allocations: 298.1 kB / 1.386 GB, free: 13 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/1.348, allocations: 0.701 MB / 1.387 GB, free: 12.3 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 7.162e-05/1.348, allocations: 11.83 kB / 1.387 GB, free: 12.3 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/1.348, allocations: 17.94 kB / 1.387 GB, free: 12.29 MB / 1.092 GB Notification: Performance of SimCode: time 2.1e-07/1.348, allocations: 0 / 1.387 GB, free: 12.29 MB / 1.092 GB Notification: Performance of Templates: time 0.006406/1.355, allocations: 3.067 MB / 1.39 GB, free: 10.95 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_UACp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches