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.001265/0.001266, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00151/0.001509, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.41/1.41, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.644/2.644, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 67.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7744/0.7761, allocations: 151.6 MB / 1.017 GB, free: 2.555 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.003772/0.7799, allocations: 1.683 MB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1685/0.9484, allocations: 148.4 MB / 1.164 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/0.9486, allocations: 0 / 1.164 GB, free: 11.85 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.9488, allocations: 45.7 kB / 1.164 GB, free: 11.81 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.95, allocations: 437.9 kB / 1.164 GB, free: 11.38 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001461/0.9502, allocations: 59.88 kB / 1.164 GB, free: 11.32 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.9503, allocations: 147.3 kB / 1.165 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.9504, allocations: 17.39 kB / 1.165 GB, free: 11.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.647e-05/0.9505, allocations: 51.83 kB / 1.165 GB, free: 11.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.9506, allocations: 63.7 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.9507, allocations: 8 kB / 1.165 GB, free: 11.04 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008776/0.9515, allocations: 0.5145 MB / 1.165 GB, free: 10.52 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.757e-05/0.9516, allocations: 19.92 kB / 1.165 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.9517, allocations: 55.72 kB / 1.165 GB, free: 10.45 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005304/0.9522, allocations: 371.1 kB / 1.166 GB, free: 10.08 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.816e-06/0.9522, allocations: 8 kB / 1.166 GB, free: 10.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.525e-06/0.9522, allocations: 0 / 1.166 GB, free: 10.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.9522, allocations: 7.938 kB / 1.166 GB, free: 10.07 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.0006826/0.9529, allocations: 478.7 kB / 1.166 GB, free: 9.551 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.953, allocations: 8.031 kB / 1.166 GB, free: 9.543 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.9542, allocations: 179.9 kB / 1.166 GB, free: 9.367 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.9546, allocations: 312.2 kB / 1.167 GB, free: 9.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.9546, allocations: 158.5 kB / 1.167 GB, free: 8.867 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.701e-05/0.9547, allocations: 154.6 kB / 1.167 GB, free: 8.715 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.002e-05/0.9548, allocations: 108.9 kB / 1.167 GB, free: 8.602 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.9549, allocations: 79.28 kB / 1.167 GB, free: 8.523 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.9549, allocations: 150.6 kB / 1.167 GB, free: 8.375 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/0.955, allocations: 150.6 kB / 1.167 GB, free: 8.227 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.796e-05/0.9551, allocations: 158.6 kB / 1.167 GB, free: 8.07 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.9555, allocations: 0.5056 MB / 1.168 GB, free: 7.516 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.739e-05/0.9556, allocations: 181.1 kB / 1.168 GB, free: 7.328 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.9557, allocations: 80.14 kB / 1.168 GB, free: 7.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.9557, allocations: 75.28 kB / 1.168 GB, free: 7.172 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.723e-05/0.9558, allocations: 105.8 kB / 1.168 GB, free: 7.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.9558, allocations: 3.938 kB / 1.168 GB, free: 7.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 0.0003126/0.9561, allocations: 61.5 kB / 1.168 GB, free: 6.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.192e-05/0.9562, allocations: 130.7 kB / 1.169 GB, free: 6.848 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003325/0.9566, allocations: 223.7 kB / 1.169 GB, free: 6.621 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.9566, allocations: 25.7 kB / 1.169 GB, free: 6.59 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.962e-05/0.9567, allocations: 96.14 kB / 1.169 GB, free: 6.492 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.9567, allocations: 7.938 kB / 1.169 GB, free: 6.484 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.9567, allocations: 29.7 kB / 1.169 GB, free: 6.449 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0003097/0.957, allocations: 318.8 kB / 1.169 GB, free: 6.129 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.951e-05/0.9571, allocations: 16.86 kB / 1.169 GB, free: 6.109 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.861e-05/0.9572, allocations: 23.98 kB / 1.169 GB, free: 6.086 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.301e-05/0.9572, allocations: 24.8 kB / 1.169 GB, free: 6.059 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.9572, allocations: 4 kB / 1.169 GB, free: 6.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0006418/0.9579, allocations: 138.3 kB / 1.169 GB, free: 5.91 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.9579, allocations: 7.984 kB / 1.169 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.9579, allocations: 0 / 1.169 GB, free: 5.902 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007987/0.9587, allocations: 144.7 kB / 1.17 GB, free: 5.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.288e-05/0.9588, allocations: 11.92 kB / 1.17 GB, free: 5.746 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.9611, allocations: 1.61 MB / 1.171 GB, free: 3.996 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.9613, allocations: 8.016 kB / 1.171 GB, free: 3.988 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.9613, allocations: 12.06 kB / 1.171 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.021e-05/0.9614, allocations: 97.45 kB / 1.171 GB, free: 3.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.091e-05/0.9614, allocations: 15.94 kB / 1.171 GB, free: 3.863 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 4.768e-05/0.9615, allocations: 28.84 kB / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.52e-07/0.9615, allocations: 0 / 1.171 GB, free: 3.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002404/0.9618, allocations: 106.3 kB / 1.171 GB, free: 3.719 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.9618, allocations: 9.406 kB / 1.171 GB, free: 3.711 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.9618, allocations: 3.984 kB / 1.171 GB, free: 3.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003587/0.9622, allocations: 120.6 kB / 1.172 GB, free: 3.586 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.276e-05/0.9622, allocations: 4 kB / 1.172 GB, free: 3.582 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.9634, allocations: 1.465 MB / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.9636, allocations: 0 / 1.173 GB, free: 1.98 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.9636, allocations: 4.031 kB / 1.173 GB, free: 1.977 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.0001284/0.9637, allocations: 259.6 kB / 1.173 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.504e-05/0.9638, allocations: 124.7 kB / 1.173 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.9639, allocations: 113.4 kB / 1.173 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.799e-05/0.9639, allocations: 184.2 kB / 1.174 GB, free: 1.281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-05/0.964, allocations: 180.3 kB / 1.174 GB, free: 1.098 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.899e-05/0.9641, allocations: 184.4 kB / 1.174 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.9644, allocations: 449.2 kB / 1.174 GB, free: 424 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.574e-05/0.9644, allocations: 104.9 kB / 1.175 GB, free: 312 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.277e-05/0.9645, allocations: 101 kB / 1.175 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.909e-05/0.9645, allocations: 176.3 kB / 1.175 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.499e-05/0.9646, allocations: 192.1 kB / 1.175 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.939e-05/0.9647, allocations: 180.3 kB / 1.175 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.435e-05/0.9648, allocations: 180.2 kB / 1.175 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.965, allocations: 311.7 kB / 1.176 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.9651, allocations: 201.9 kB / 1.176 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.395e-05/0.9652, allocations: 192.1 kB / 1.176 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.9654, allocations: 108.9 kB / 1.176 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.404e-05/0.9655, allocations: 180.2 kB / 1.176 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.435e-05/0.9655, allocations: 105 kB / 1.176 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001937/0.9657, allocations: 161.1 kB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9657, allocations: 4 kB / 1.177 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000456/0.9662, allocations: 71.98 kB / 1.177 GB, free: 14.07 MB / 0.9356 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.000276/0.9665, allocations: 202.5 kB / 1.177 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.967, allocations: 305.3 kB / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.967, allocations: 0 / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.545e-06/0.967, allocations: 0 / 1.177 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.9675, allocations: 483.6 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003892/0.9679, allocations: 298.3 kB / 1.178 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.9682, allocations: 0.7083 MB / 1.179 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.366e-05/0.9683, allocations: 16.53 kB / 1.179 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.9683, allocations: 15.38 kB / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of SimCode: time 3.3e-07/0.9683, allocations: 0 / 1.179 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.006811/0.9751, allocations: 3.05 MB / 1.182 GB, free: 8.969 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