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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 81.17 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009581/0.0009581, allocations: 169 kB / 23.28 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1/1, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.583/2.583, allocations: 438.1 MB / 0.682 GB, free: 14.18 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|uacp.UAcp|uacp.bypass_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8898 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.802e-05, allocations: 6.25 kB / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp): time 0.002562/0.00259, allocations: 1.737 MB / 0.8915 GB, free: 7.984 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1459/0.1484, allocations: 141.5 MB / 1.03 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.1485, allocations: 0 / 1.03 GB, free: 9.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002133/0.1488, allocations: 47.62 kB / 1.03 GB, free: 9.855 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00117/0.1499, allocations: 433.7 kB / 1.03 GB, free: 9.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.1501, allocations: 67.73 kB / 1.03 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1503, allocations: 155.2 kB / 1.03 GB, free: 9.211 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.1503, allocations: 5.594 kB / 1.03 GB, free: 9.199 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1504, allocations: 75.81 kB / 1.03 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1506, allocations: 51.88 kB / 1.031 GB, free: 9.074 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.963e-05/0.1506, allocations: 12 kB / 1.031 GB, free: 9.062 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007556/0.1513, allocations: 474.6 kB / 1.031 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1514, allocations: 23.92 kB / 1.031 GB, free: 8.574 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 4.685e-05/0.1514, allocations: 35.91 kB / 1.031 GB, free: 8.539 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.1519, allocations: 342.9 kB / 1.031 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.832e-06/0.1519, allocations: 0 / 1.031 GB, free: 8.203 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.326e-06/0.1519, allocations: 3.938 kB / 1.031 GB, free: 8.199 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1519, allocations: 0 / 1.031 GB, free: 8.199 MB / 0.9948 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.0006012/0.1525, allocations: 0.5069 MB / 1.032 GB, free: 7.656 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.1525, allocations: 16.03 kB / 1.032 GB, free: 7.641 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002285/0.1548, allocations: 0.8508 MB / 1.033 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.1551, allocations: 302.2 kB / 1.033 GB, free: 6.465 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.055e-05/0.1551, allocations: 242.8 kB / 1.033 GB, free: 6.227 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.869e-05/0.1552, allocations: 246.7 kB / 1.033 GB, free: 5.984 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.275e-05/0.1553, allocations: 156.8 kB / 1.034 GB, free: 5.824 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.285e-05/0.1553, allocations: 123.2 kB / 1.034 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.155e-05/0.1554, allocations: 242.4 kB / 1.034 GB, free: 5.465 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/0.1554, allocations: 238.4 kB / 1.034 GB, free: 5.23 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.67e-05/0.1555, allocations: 242.4 kB / 1.034 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.1558, allocations: 0.6505 MB / 1.035 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1559, allocations: 273.4 kB / 1.035 GB, free: 4.035 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.007e-05/0.156, allocations: 130.8 kB / 1.035 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.156, allocations: 119.2 kB / 1.036 GB, free: 3.785 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.036e-05/0.1561, allocations: 156.6 kB / 1.036 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.1561, allocations: 0 / 1.036 GB, free: 3.621 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 0.0001915/0.1562, allocations: 69.52 kB / 1.036 GB, free: 3.547 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.1563, allocations: 170.6 kB / 1.036 GB, free: 3.367 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005525/0.1569, allocations: 250.6 kB / 1.036 GB, free: 3.105 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1569, allocations: 29.64 kB / 1.036 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.1569, allocations: 162.8 kB / 1.036 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.157, allocations: 0 / 1.036 GB, free: 2.906 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.157, allocations: 31.36 kB / 1.036 GB, free: 2.867 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1571, allocations: 0.4962 MB / 1.037 GB, free: 2.359 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.1576, allocations: 207.5 kB / 1.037 GB, free: 2.152 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.993e-05/0.1577, allocations: 63.97 kB / 1.037 GB, free: 2.09 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1578, allocations: 39.69 kB / 1.037 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1578, allocations: 0 / 1.037 GB, free: 2.047 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004939/0.1583, allocations: 217 kB / 1.037 GB, free: 1.824 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1583, allocations: 8 kB / 1.037 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1583, allocations: 0 / 1.037 GB, free: 1.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.1593, allocations: 311.3 kB / 1.038 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1596, allocations: 107.9 kB / 1.038 GB, free: 1.402 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001387/0.161, allocations: 1.875 MB / 1.04 GB, free: 15.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003147/0.1613, allocations: 111.7 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1614, allocations: 11.92 kB / 1.04 GB, free: 15.29 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001486/0.1615, allocations: 190.8 kB / 1.04 GB, free: 15.1 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.205e-05/0.1616, allocations: 63.97 kB / 1.04 GB, free: 15.04 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 7.914e-05/0.1617, allocations: 39.69 kB / 1.04 GB, free: 14.99 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.7e-07/0.1617, allocations: 0 / 1.04 GB, free: 14.99 MB / 1.01 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0003163/0.162, allocations: 181.2 kB / 1.04 GB, free: 14.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/0.162, allocations: 4 kB / 1.04 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.162, allocations: 4 kB / 1.04 GB, free: 14.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/0.1627, allocations: 235.4 kB / 1.04 GB, free: 14.56 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.163, allocations: 111.9 kB / 1.041 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008606/0.1639, allocations: 1.776 MB / 1.042 GB, free: 12.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002953/0.1642, allocations: 107.9 kB / 1.042 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.1642, allocations: 0 / 1.042 GB, free: 12.46 MB / 1.01 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.0001399/0.1643, allocations: 395.2 kB / 1.043 GB, free: 12.06 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.1644, allocations: 156.8 kB / 1.043 GB, free: 11.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.327e-05/0.1644, allocations: 161.3 kB / 1.043 GB, free: 11.74 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004298/0.1649, allocations: 268.1 kB / 1.043 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.884e-05/0.1649, allocations: 276.2 kB / 1.044 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.395e-05/0.165, allocations: 264.1 kB / 1.044 GB, free: 10.93 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1652, allocations: 0.5004 MB / 1.044 GB, free: 10.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-05/0.1653, allocations: 144.9 kB / 1.044 GB, free: 10.25 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.654e-05/0.1653, allocations: 144.9 kB / 1.045 GB, free: 10.1 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.807e-05/0.1654, allocations: 272 kB / 1.045 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.1654, allocations: 268 kB / 1.045 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.795e-05/0.1655, allocations: 272.2 kB / 1.045 GB, free: 9.281 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.047e-05/0.1656, allocations: 276.1 kB / 1.046 GB, free: 9.004 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000149/0.1657, allocations: 459.9 kB / 1.046 GB, free: 8.527 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.194e-05/0.1658, allocations: 160.8 kB / 1.046 GB, free: 8.363 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.075e-05/0.1659, allocations: 279.9 kB / 1.046 GB, free: 8.082 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.024e-05/0.166, allocations: 144.9 kB / 1.047 GB, free: 7.934 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-05/0.1661, allocations: 272.1 kB / 1.047 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/0.1661, allocations: 148.8 kB / 1.047 GB, free: 7.508 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001012/0.1662, allocations: 185 kB / 1.047 GB, free: 7.328 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.1662, allocations: 0 / 1.047 GB, free: 7.328 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003329/0.1665, allocations: 79.94 kB / 1.047 GB, free: 7.25 MB / 1.01 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.0002379/0.1668, allocations: 234.4 kB / 1.047 GB, free: 7.012 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005619/0.1673, allocations: 0.5351 MB / 1.048 GB, free: 6.434 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.1673, allocations: 0 / 1.048 GB, free: 6.434 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.1673, allocations: 4 kB / 1.048 GB, free: 6.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1677, allocations: 0.7295 MB / 1.049 GB, free: 5.695 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005346/0.1682, allocations: 347.3 kB / 1.049 GB, free: 5.328 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.171e-05/0.1683, allocations: 63.83 kB / 1.049 GB, free: 5.242 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001423/0.1684, allocations: 40.42 kB / 1.049 GB, free: 5.203 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1686, allocations: 102.2 kB / 1.049 GB, free: 5.102 MB / 1.01 GB Notification: Performance of SimCode: time 4.71e-07/0.1686, allocations: 0 / 1.049 GB, free: 5.102 MB / 1.01 GB Notification: Performance of Templates: time 0.4903/0.6589, allocations: 5.297 MB / 1.054 GB, free: 71.76 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.UACp.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.447179753798991]