Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009357/0.0009357, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.0009485/0.0009485, allocations: 161 kB / 24.17 MB, free: 332 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.9521/0.9521, allocations: 177.2 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.945/1.945, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.602e-05, allocations: 5.906 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1474/0.1475, allocations: 148.8 MB / 0.9054 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.006295/0.1538, allocations: 3.862 MB / 0.9091 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006489/0.1544, allocations: 43.62 kB / 0.9092 GB, free: 13.54 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006204/0.155, allocations: 218.3 kB / 0.9094 GB, free: 13.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.1566, allocations: 0.909 MB / 0.9103 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001395/0.158, allocations: 0.7674 MB / 0.911 GB, free: 11.64 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001752/0.1598, allocations: 1.851 MB / 0.9128 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.1606, allocations: 0.5013 MB / 0.9133 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001435/0.1621, allocations: 0.9696 MB / 0.9143 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004941/0.1626, allocations: 470.6 kB / 0.9147 GB, free: 7.859 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 6.594e-05/0.1626, allocations: 56 kB / 0.9148 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009429/0.1636, allocations: 0.6236 MB / 0.9154 GB, free: 7.18 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001957/0.1638, allocations: 291.1 kB / 0.9156 GB, free: 6.895 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.164, allocations: 275.4 kB / 0.9159 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009834/0.165, allocations: 0.9227 MB / 0.9168 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.165, allocations: 0 / 0.9168 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.443e-06/0.165, allocations: 0 / 0.9168 GB, free: 5.699 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.165, allocations: 0 / 0.9168 GB, free: 5.699 MB / 0.8698 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.0009737/0.166, allocations: 0.9616 MB / 0.9178 GB, free: 4.707 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.166, allocations: 12.03 kB / 0.9178 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007423/0.1667, allocations: 236.3 kB / 0.918 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00061/0.1673, allocations: 0.4995 MB / 0.9185 GB, free: 3.938 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.1674, allocations: 37 kB / 0.9185 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.1674, allocations: 55.94 kB / 0.9186 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.1678, allocations: 460.1 kB / 0.919 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.1679, allocations: 3.938 kB / 0.919 GB, free: 3.348 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.931e-05/0.1679, allocations: 16 kB / 0.919 GB, free: 3.332 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.1679, allocations: 17 kB / 0.919 GB, free: 3.316 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000178/0.1681, allocations: 122.9 kB / 0.9192 GB, free: 3.199 MB / 0.8698 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.001215/0.1693, allocations: 0.9749 MB / 0.9201 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.1696, allocations: 223.1 kB / 0.9203 GB, free: 1.965 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.889e-05/0.1696, allocations: 76.2 kB / 0.9204 GB, free: 1.887 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.1697, allocations: 28.27 kB / 0.9204 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.1698, allocations: 34.84 kB / 0.9205 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 2.785e-06/0.1698, allocations: 0 / 0.9205 GB, free: 1.816 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0004967/0.1703, allocations: 236.7 kB / 0.9207 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1703, allocations: 55.41 kB / 0.9207 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000446/0.1707, allocations: 423.2 kB / 0.9211 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1708, allocations: 29.7 kB / 0.9212 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1709, allocations: 257.6 kB / 0.9214 GB, free: 0.8008 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.1709, allocations: 122.9 kB / 0.9215 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.171, allocations: 69.94 kB / 0.9216 GB, free: 0.6055 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1711, allocations: 370.6 kB / 0.9219 GB, free: 240 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.1713, allocations: 40.98 kB / 0.922 GB, free: 196 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.1714, allocations: 257.9 kB / 0.9222 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1716, allocations: 143.4 kB / 0.9224 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1716, allocations: 0 / 0.9224 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002079/0.1718, allocations: 196.1 kB / 0.9226 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1718, allocations: 11.98 kB / 0.9226 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1718, allocations: 4 kB / 0.9226 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1718, allocations: 0 / 0.9226 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.172, allocations: 75.91 kB / 0.9226 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.172, allocations: 3.938 kB / 0.9226 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.1722, allocations: 19.89 kB / 0.9227 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1722, allocations: 15.98 kB / 0.9227 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001131/0.1723, allocations: 125.8 kB / 0.9228 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001202/0.1724, allocations: 253.1 kB / 0.923 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001312/0.1726, allocations: 142.2 kB / 0.9232 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.1726, allocations: 3.938 kB / 0.9232 GB, free: 14.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0001914/0.1728, allocations: 188.1 kB / 0.9234 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.562e-06/0.1728, allocations: 4 kB / 0.9234 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.1728, allocations: 4 kB / 0.9234 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-06/0.1728, allocations: 96 / 0.9234 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.1729, allocations: 75.91 kB / 0.9234 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.337e-06/0.1729, allocations: 4 kB / 0.9234 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1731, allocations: 31.77 kB / 0.9235 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.1731, allocations: 12 kB / 0.9235 GB, free: 14.48 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.0003001/0.1734, allocations: 200.1 kB / 0.9237 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.1735, allocations: 47.95 kB / 0.9237 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.1737, allocations: 204 kB / 0.9239 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1737, allocations: 4 kB / 0.9239 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.1737, allocations: 7.938 kB / 0.9239 GB, free: 14.02 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001401/0.1738, allocations: 212.5 kB / 0.9241 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006769/0.1745, allocations: 0.6705 MB / 0.9248 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1745, allocations: 4 kB / 0.9248 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.1748, allocations: 106.9 kB / 0.9249 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1748, allocations: 4 kB / 0.9249 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1748, allocations: 8 kB / 0.9249 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.1748, allocations: 4 kB / 0.9249 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.1748, allocations: 3.938 kB / 0.9249 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.1752, allocations: 434.8 kB / 0.9253 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.1753, allocations: 79.52 kB / 0.9254 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.755e-05/0.1753, allocations: 8 kB / 0.9254 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.1755, allocations: 15.98 kB / 0.9254 GB, free: 12.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1756, allocations: 27.91 kB / 0.9255 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.1756, allocations: 16.05 kB / 0.9255 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001232/0.1757, allocations: 188.4 kB / 0.9256 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.1757, allocations: 3.938 kB / 0.9256 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004694/0.1762, allocations: 339.2 kB / 0.926 GB, free: 11.79 MB / 0.8855 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.0001926/0.1764, allocations: 128.2 kB / 0.9261 GB, free: 11.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.1766, allocations: 232.3 kB / 0.9263 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.1766, allocations: 8 kB / 0.9263 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.209e-05/0.1767, allocations: 88.61 kB / 0.9264 GB, free: 11.33 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007322/0.1775, allocations: 342.8 kB / 0.9267 GB, free: 11 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.1789, allocations: 1.057 MB / 0.9278 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001004/0.179, allocations: 158.3 kB / 0.9279 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002523/0.1793, allocations: 96.78 kB / 0.928 GB, free: 9.613 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.1797, allocations: 263.1 kB / 0.9283 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of SimCode: time 8.51e-07/0.1797, allocations: 0 / 0.9283 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of Templates: time 0.0146/0.1943, allocations: 12.18 MB / 0.9402 GB, free: 13.52 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_12_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_12_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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: 5.382685660850257]