Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.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.0009721/0.0009721, allocations: 73.09 kB / 20.66 MB, free: 3.844 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.0009924/0.0009924, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9461/0.9461, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.101/2.101, allocations: 429.5 MB / 0.6743 GB, free: 3.891 MB / 0.6355 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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.8794 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.849e-05, allocations: 4.984 kB / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1355/0.1355, allocations: 146.8 MB / 1.023 GB, free: 2.707 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.00719/0.1427, allocations: 4.694 MB / 1.027 GB, free: 14 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009051/0.1436, allocations: 47.56 kB / 1.027 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006182/0.1443, allocations: 222.3 kB / 1.028 GB, free: 13.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001719/0.146, allocations: 0.9245 MB / 1.028 GB, free: 12.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002274/0.1483, allocations: 1.087 MB / 1.03 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001822/0.1501, allocations: 1.929 MB / 1.031 GB, free: 9.785 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.1506, allocations: 499.3 kB / 1.032 GB, free: 9.281 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001432/0.1521, allocations: 1.053 MB / 1.033 GB, free: 8.246 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005711/0.1526, allocations: 0.4985 MB / 1.033 GB, free: 7.746 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 7.13e-05/0.1527, allocations: 60 kB / 1.033 GB, free: 7.688 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009276/0.1536, allocations: 0.6196 MB / 1.034 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001987/0.1538, allocations: 291.1 kB / 1.034 GB, free: 6.781 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.1541, allocations: 287.3 kB / 1.035 GB, free: 6.5 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009723/0.155, allocations: 0.9499 MB / 1.036 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.155, allocations: 0 / 1.036 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.352e-06/0.155, allocations: 0 / 1.036 GB, free: 5.547 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.155, allocations: 0 / 1.036 GB, free: 5.547 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001229/0.1563, allocations: 1.179 MB / 1.037 GB, free: 4.328 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.1563, allocations: 12.03 kB / 1.037 GB, free: 4.316 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006852/0.157, allocations: 252 kB / 1.037 GB, free: 4.07 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.1576, allocations: 0.5938 MB / 1.038 GB, free: 3.449 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.727e-05/0.1577, allocations: 40.98 kB / 1.038 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.276e-05/0.1577, allocations: 56 kB / 1.038 GB, free: 3.355 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003961/0.1581, allocations: 437.4 kB / 1.038 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1581, allocations: 0 / 1.038 GB, free: 2.883 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.1582, allocations: 20 kB / 1.038 GB, free: 2.863 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.45e-05/0.1582, allocations: 24.94 kB / 1.038 GB, free: 2.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.1584, allocations: 138.9 kB / 1.038 GB, free: 2.703 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.1599, allocations: 1.28 MB / 1.039 GB, free: 1.383 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.1602, allocations: 190.9 kB / 1.04 GB, free: 1.188 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.1603, allocations: 91.92 kB / 1.04 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.032e-05/0.1604, allocations: 28.27 kB / 1.04 GB, free: 1.066 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.1604, allocations: 41.67 kB / 1.04 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=33): time 1.723e-06/0.1604, allocations: 0 / 1.04 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of matching and sorting (n=33): time 0.0004879/0.1609, allocations: 303.7 kB / 1.04 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.949e-05/0.1609, allocations: 59.34 kB / 1.04 GB, free: 0.6445 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003437/0.1613, allocations: 0.5461 MB / 1.041 GB, free: 80 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.1613, allocations: 37.7 kB / 1.041 GB, free: 36 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.1615, allocations: 395.7 kB / 1.041 GB, free: 15.64 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.185e-05/0.1616, allocations: 122.9 kB / 1.041 GB, free: 15.52 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1617, allocations: 107.8 kB / 1.041 GB, free: 15.41 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1618, allocations: 0.5546 MB / 1.042 GB, free: 14.84 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.364e-05/0.1619, allocations: 53.59 kB / 1.042 GB, free: 14.79 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/0.1622, allocations: 462.9 kB / 1.042 GB, free: 14.19 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004364/0.1626, allocations: 363.4 kB / 1.043 GB, free: 13.75 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1626, allocations: 0 / 1.043 GB, free: 13.75 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003706/0.163, allocations: 364.4 kB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.163, allocations: 8 kB / 1.043 GB, free: 13.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.163, allocations: 4 kB / 1.043 GB, free: 13.37 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.163, allocations: 8 kB / 1.043 GB, free: 13.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.1632, allocations: 104.4 kB / 1.043 GB, free: 13.26 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1632, allocations: 8 kB / 1.043 GB, free: 13.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1635, allocations: 55.61 kB / 1.043 GB, free: 13.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1635, allocations: 23.98 kB / 1.043 GB, free: 13.18 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001446/0.1636, allocations: 187.8 kB / 1.043 GB, free: 12.99 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002077/0.1638, allocations: 455 kB / 1.044 GB, free: 12.39 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002473/0.1641, allocations: 352.8 kB / 1.044 GB, free: 11.96 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.1641, allocations: 4 kB / 1.044 GB, free: 11.95 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0003343/0.1644, allocations: 357.1 kB / 1.045 GB, free: 11.6 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.1644, allocations: 4 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1644, allocations: 8 kB / 1.045 GB, free: 11.59 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.171e-06/0.1645, allocations: 4 kB / 1.045 GB, free: 11.58 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.1646, allocations: 103.8 kB / 1.045 GB, free: 11.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1647, allocations: 8 kB / 1.045 GB, free: 11.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.1649, allocations: 39.78 kB / 1.045 GB, free: 11.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1649, allocations: 19.98 kB / 1.045 GB, free: 11.41 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 57 * 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 prepare postOptimizeDAE: time 0.000127/0.165, allocations: 308 kB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.1651, allocations: 75.58 kB / 1.045 GB, free: 11.03 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.1654, allocations: 247.3 kB / 1.045 GB, free: 10.78 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.636e-06/0.1654, allocations: 4 kB / 1.045 GB, free: 10.77 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.714e-06/0.1654, allocations: 3.938 kB / 1.045 GB, free: 10.77 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001882/0.1656, allocations: 261.7 kB / 1.046 GB, free: 10.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007891/0.1663, allocations: 0.7797 MB / 1.046 GB, free: 9.648 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1663, allocations: 4 kB / 1.046 GB, free: 9.645 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.1666, allocations: 83.89 kB / 1.046 GB, free: 9.562 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1666, allocations: 0 / 1.046 GB, free: 9.562 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1666, allocations: 8 kB / 1.046 GB, free: 9.555 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1666, allocations: 4 kB / 1.046 GB, free: 9.551 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1666, allocations: 11.88 kB / 1.046 GB, free: 9.539 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.167, allocations: 489.7 kB / 1.047 GB, free: 9.016 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.1671, allocations: 95.52 kB / 1.047 GB, free: 8.922 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.1672, allocations: 12.03 kB / 1.047 GB, free: 8.91 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1674, allocations: 27.88 kB / 1.047 GB, free: 8.883 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.1674, allocations: 23.84 kB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.1674, allocations: 15.98 kB / 1.047 GB, free: 8.844 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001797/0.1676, allocations: 338.9 kB / 1.047 GB, free: 8.52 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.1676, allocations: 4 kB / 1.047 GB, free: 8.516 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006443/0.1683, allocations: 351.3 kB / 1.048 GB, free: 8.172 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0002355/0.1685, allocations: 147.1 kB / 1.048 GB, free: 8.02 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003955/0.1689, allocations: 359.9 kB / 1.048 GB, free: 7.664 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1689, allocations: 4 kB / 1.048 GB, free: 7.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.871e-05/0.169, allocations: 91.52 kB / 1.048 GB, free: 7.566 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.1698, allocations: 327.5 kB / 1.049 GB, free: 7.25 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.1715, allocations: 1.167 MB / 1.05 GB, free: 6.02 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.1716, allocations: 170.6 kB / 1.05 GB, free: 5.832 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003052/0.1719, allocations: 105 kB / 1.05 GB, free: 5.73 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004606/0.1723, allocations: 326 kB / 1.05 GB, free: 5.41 MB / 1.01 GB Notification: Performance of SimCode: time 1.002e-06/0.1723, allocations: 0 / 1.05 GB, free: 5.41 MB / 1.01 GB Notification: Performance of Templates: time 0.3961/0.5684, allocations: 12.64 MB / 1.063 GB, free: 70.23 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.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.160568406339735]