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.001038/0.001038, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001026/0.001026, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9808/0.9808, allocations: 177.1 MB / 203.8 MB, free: 5.496 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.463/2.463, allocations: 438.8 MB / 0.6827 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.122e-06/1.122e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.349e-05/1.461e-05, allocations: 4.562 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1307/0.1307, allocations: 148.9 MB / 0.984 GB, free: 8.711 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.005704/0.1364, allocations: 4.817 MB / 0.9887 GB, free: 3.883 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003821/0.1368, allocations: 51.56 kB / 0.9888 GB, free: 3.832 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.1373, allocations: 218.3 kB / 0.989 GB, free: 3.617 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001275/0.1386, allocations: 0.9245 MB / 0.9899 GB, free: 2.688 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1401, allocations: 1.063 MB / 0.9909 GB, free: 1.621 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001629/0.1418, allocations: 1.909 MB / 0.9928 GB, free: 15.71 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007601/0.1425, allocations: 0.5005 MB / 0.9933 GB, free: 15.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.1437, allocations: 1.015 MB / 0.9943 GB, free: 14.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005108/0.1442, allocations: 482.5 kB / 0.9947 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.042e-05/0.1443, allocations: 60 kB / 0.9948 GB, free: 13.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007792/0.145, allocations: 0.6197 MB / 0.9954 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.1452, allocations: 295.1 kB / 0.9957 GB, free: 12.75 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002162/0.1455, allocations: 295.3 kB / 0.996 GB, free: 12.46 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.1463, allocations: 0.9615 MB / 0.9969 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1463, allocations: 0 / 0.9969 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1463, allocations: 0 / 0.9969 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.1464, allocations: 0 / 0.9969 GB, free: 11.5 MB / 0.9636 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.0009772/0.1473, allocations: 1.024 MB / 0.9979 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.1474, allocations: 8.625 kB / 0.9979 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007194/0.1481, allocations: 248.4 kB / 0.9982 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006412/0.1487, allocations: 0.5314 MB / 0.9987 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.82e-05/0.1488, allocations: 41 kB / 0.9987 GB, free: 9.602 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.785e-05/0.1488, allocations: 56 kB / 0.9988 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003999/0.1492, allocations: 456.1 kB / 0.9992 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1492, allocations: 7.953 kB / 0.9992 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1493, allocations: 20 kB / 0.9992 GB, free: 9.027 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.1493, allocations: 17 kB / 0.9992 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.1495, allocations: 118.9 kB / 0.9994 GB, free: 8.891 MB / 0.9636 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.001218/0.1507, allocations: 1.002 MB / 1 GB, free: 7.859 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1509, allocations: 220.8 kB / 1.001 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.151, allocations: 87.34 kB / 1.001 GB, free: 7.547 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-05/0.1511, allocations: 28.27 kB / 1.001 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.204e-05/0.1511, allocations: 38.84 kB / 1.001 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=33): time 1.784e-06/0.1511, allocations: 0 / 1.001 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of matching and sorting (n=33): time 0.0003915/0.1515, allocations: 232.2 kB / 1.001 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.1515, allocations: 55.41 kB / 1.001 GB, free: 7.176 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002766/0.1518, allocations: 492 kB / 1.001 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.1518, allocations: 37.7 kB / 1.001 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.152, allocations: 266.3 kB / 1.002 GB, free: 6.379 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.1521, allocations: 130.8 kB / 1.002 GB, free: 6.25 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.1522, allocations: 98.14 kB / 1.002 GB, free: 6.148 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.1523, allocations: 382.6 kB / 1.002 GB, free: 5.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.789e-05/0.1523, allocations: 45.67 kB / 1.002 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1525, allocations: 377.5 kB / 1.003 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.1527, allocations: 301.9 kB / 1.003 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1527, allocations: 0 / 1.003 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0002931/0.153, allocations: 296.2 kB / 1.003 GB, free: 4.57 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.153, allocations: 4 kB / 1.003 GB, free: 4.566 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1531, allocations: 8 kB / 1.003 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1531, allocations: 4 kB / 1.003 GB, free: 4.555 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002404/0.1533, allocations: 107.8 kB / 1.003 GB, free: 4.449 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.1533, allocations: 11.94 kB / 1.003 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.1535, allocations: 43.72 kB / 1.003 GB, free: 4.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.1535, allocations: 16 kB / 1.003 GB, free: 4.379 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001296/0.1537, allocations: 138.9 kB / 1.004 GB, free: 4.234 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001775/0.1538, allocations: 381.5 kB / 1.004 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002119/0.1541, allocations: 293.4 kB / 1.004 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.1541, allocations: 3.938 kB / 1.004 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0002703/0.1543, allocations: 287.7 kB / 1.005 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.1543, allocations: 8.656 kB / 1.005 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.586e-06/0.1543, allocations: 8 kB / 1.005 GB, free: 3.082 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.771e-06/0.1543, allocations: 8 kB / 1.005 GB, free: 3.074 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002081/0.1546, allocations: 107.8 kB / 1.005 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1546, allocations: 11.94 kB / 1.005 GB, free: 2.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001891/0.1548, allocations: 43.72 kB / 1.005 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.1548, allocations: 23.94 kB / 1.005 GB, free: 2.891 MB / 0.9636 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 8.962e-05/0.1549, allocations: 208.1 kB / 1.005 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.1549, allocations: 51.89 kB / 1.005 GB, free: 2.629 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.1552, allocations: 203.5 kB / 1.005 GB, free: 2.422 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1552, allocations: 8 kB / 1.005 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.1552, allocations: 0 / 1.005 GB, free: 2.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000144/0.1553, allocations: 217.8 kB / 1.005 GB, free: 2.172 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.156, allocations: 0.6842 MB / 1.006 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.156, allocations: 0 / 1.006 GB, free: 1.438 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.1563, allocations: 110.9 kB / 1.006 GB, free: 1.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1563, allocations: 4 kB / 1.006 GB, free: 1.324 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.848e-05/0.1563, allocations: 12.12 kB / 1.006 GB, free: 1.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1563, allocations: 8 kB / 1.006 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1563, allocations: 7.875 kB / 1.006 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000334/0.1566, allocations: 431.1 kB / 1.007 GB, free: 0.832 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.1567, allocations: 83.48 kB / 1.007 GB, free: 0.75 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.1568, allocations: 12 kB / 1.007 GB, free: 0.7383 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.1569, allocations: 23.92 kB / 1.007 GB, free: 0.7148 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.157, allocations: 23.91 kB / 1.007 GB, free: 0.6914 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.157, allocations: 11.98 kB / 1.007 GB, free: 0.6797 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0001421/0.1572, allocations: 220.6 kB / 1.007 GB, free: 480 kB / 0.9636 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1572, allocations: 0 / 1.007 GB, free: 480 kB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0005145/0.1577, allocations: 359.3 kB / 1.007 GB, free: 120 kB / 0.9636 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.0001911/0.1579, allocations: 136.4 kB / 1.007 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.1582, allocations: 325.5 kB / 1.008 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.1582, allocations: 8.312 kB / 1.008 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 8.601e-05/0.1583, allocations: 88.67 kB / 1.008 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.159, allocations: 334.1 kB / 1.008 GB, free: 15.23 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.1603, allocations: 1.128 MB / 1.009 GB, free: 14.05 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.1604, allocations: 166.5 kB / 1.009 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0002703/0.1607, allocations: 112.9 kB / 1.01 GB, free: 13.75 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.1611, allocations: 263.1 kB / 1.01 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of SimCode: time 6.41e-07/0.1611, allocations: 0 / 1.01 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of Templates: time 0.01424/0.1754, allocations: 12.46 MB / 1.022 GB, free: 1.352 MB / 0.9792 GB " [Timeout remaining time 300] 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 -s gbode -gbm=radauIIA3 -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: 5.873070712201297]