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.001081/0.001081, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001136/0.001136, allocations: 181 kB / 24.09 MB, free: 416 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.968/0.968, allocations: 177.1 MB / 204.5 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.841/1.841, allocations: 377.9 MB / 0.624 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.754e-06/1.754e-06, allocations: 0 / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.54e-05/1.715e-05, allocations: 2.312 kB / 0.812 GB, free: 1.488 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1299/0.1299, allocations: 146.7 MB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.004789/0.1347, allocations: 3.778 MB / 0.9589 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000574/0.1353, allocations: 43.62 kB / 0.9589 GB, free: 10.52 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005438/0.1358, allocations: 218.3 kB / 0.9591 GB, free: 10.3 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.1373, allocations: 0.9207 MB / 0.96 GB, free: 9.379 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1385, allocations: 0.7791 MB / 0.9608 GB, free: 8.598 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0017/0.1402, allocations: 1.855 MB / 0.9626 GB, free: 6.734 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004876/0.1407, allocations: 493.2 kB / 0.9631 GB, free: 6.238 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.1421, allocations: 0.9841 MB / 0.964 GB, free: 5.27 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.1425, allocations: 0.4907 MB / 0.9645 GB, free: 4.777 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/0.1426, allocations: 60 kB / 0.9646 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007107/0.1433, allocations: 0.6156 MB / 0.9652 GB, free: 4.102 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.1435, allocations: 287.1 kB / 0.9655 GB, free: 3.82 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.1437, allocations: 279.4 kB / 0.9657 GB, free: 3.547 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009086/0.1446, allocations: 0.9188 MB / 0.9666 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1446, allocations: 0 / 0.9666 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1446, allocations: 0 / 0.9666 GB, free: 2.621 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.1447, allocations: 0 / 0.9666 GB, free: 2.621 MB / 0.9167 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.001069/0.1457, allocations: 1.117 MB / 0.9677 GB, free: 1.461 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1458, allocations: 8.031 kB / 0.9677 GB, free: 1.453 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006415/0.1464, allocations: 259.9 kB / 0.968 GB, free: 1.199 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.1469, allocations: 0.5502 MB / 0.9685 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.147, allocations: 33 kB / 0.9685 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.147, allocations: 48 kB / 0.9686 GB, free: 0.543 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004008/0.1474, allocations: 437.4 kB / 0.969 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1474, allocations: 0 / 0.969 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.1475, allocations: 24 kB / 0.969 GB, free: 48 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.1475, allocations: 13 kB / 0.969 GB, free: 36 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001945/0.1477, allocations: 150.8 kB / 0.9692 GB, free: 15.89 MB / 0.9323 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.001396/0.1491, allocations: 1.233 MB / 0.9704 GB, free: 14.61 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002432/0.1493, allocations: 184 kB / 0.9706 GB, free: 14.42 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.1494, allocations: 84.19 kB / 0.9706 GB, free: 14.34 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.645e-05/0.1495, allocations: 36.25 kB / 0.9707 GB, free: 14.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1495, allocations: 41.61 kB / 0.9707 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 1.543e-06/0.1495, allocations: 0 / 0.9707 GB, free: 14.25 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.0004419/0.15, allocations: 288 kB / 0.971 GB, free: 13.96 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.15, allocations: 59.34 kB / 0.971 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1503, allocations: 494.4 kB / 0.9715 GB, free: 13.39 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.1503, allocations: 37.7 kB / 0.9715 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.1505, allocations: 367.2 kB / 0.9719 GB, free: 12.99 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.1506, allocations: 130.8 kB / 0.972 GB, free: 12.86 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.1507, allocations: 75.66 kB / 0.9721 GB, free: 12.78 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1508, allocations: 0.5468 MB / 0.9726 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.1509, allocations: 44.95 kB / 0.9727 GB, free: 12.17 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.151, allocations: 300.3 kB / 0.973 GB, free: 11.81 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.1512, allocations: 145.3 kB / 0.9731 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1512, allocations: 4 kB / 0.9731 GB, free: 11.65 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002515/0.1515, allocations: 248.9 kB / 0.9733 GB, free: 11.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1515, allocations: 4 kB / 0.9733 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1515, allocations: 0 / 0.9733 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.1515, allocations: 4 kB / 0.9733 GB, free: 11.39 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1516, allocations: 67.91 kB / 0.9734 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1516, allocations: 4 kB / 0.9734 GB, free: 11.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.1518, allocations: 23.84 kB / 0.9734 GB, free: 11.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.1518, allocations: 20.08 kB / 0.9735 GB, free: 11.28 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001232/0.1519, allocations: 166.8 kB / 0.9736 GB, free: 11.11 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001424/0.1521, allocations: 287.6 kB / 0.9739 GB, free: 10.76 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001326/0.1522, allocations: 158.6 kB / 0.974 GB, free: 10.59 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.01e-07/0.1522, allocations: 3.938 kB / 0.974 GB, free: 10.58 MB / 0.9323 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002222/0.1524, allocations: 233.1 kB / 0.9743 GB, free: 10.35 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 7.153e-06/0.1525, allocations: 8 kB / 0.9743 GB, free: 10.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/0.1525, allocations: 8.078 kB / 0.9743 GB, free: 10.33 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.37e-06/0.1525, allocations: 7.984 kB / 0.9743 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.1526, allocations: 59.92 kB / 0.9743 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.1526, allocations: 3.984 kB / 0.9744 GB, free: 10.26 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.1528, allocations: 31.84 kB / 0.9744 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1528, allocations: 8 kB / 0.9744 GB, free: 10.22 MB / 0.9323 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.0001025/0.1529, allocations: 291.9 kB / 0.9747 GB, free: 9.93 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.1529, allocations: 67.67 kB / 0.9747 GB, free: 9.863 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.1532, allocations: 244.5 kB / 0.975 GB, free: 9.621 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1532, allocations: 11.98 kB / 0.975 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.1532, allocations: 0 / 0.975 GB, free: 9.609 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001777/0.1534, allocations: 256.6 kB / 0.9752 GB, free: 9.328 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009492/0.1543, allocations: 0.7702 MB / 0.976 GB, free: 8.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1543, allocations: 4.125 kB / 0.976 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.1545, allocations: 80.08 kB / 0.9761 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.1545, allocations: 8 kB / 0.9761 GB, free: 8.41 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.1545, allocations: 12 kB / 0.9761 GB, free: 8.398 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1546, allocations: 4 kB / 0.9761 GB, free: 8.395 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1546, allocations: 7.875 kB / 0.9761 GB, free: 8.387 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003763/0.1549, allocations: 481.4 kB / 0.9765 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.155, allocations: 95.5 kB / 0.9766 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.552e-05/0.1551, allocations: 11.98 kB / 0.9766 GB, free: 7.766 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.1552, allocations: 12 kB / 0.9767 GB, free: 7.754 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1553, allocations: 39.83 kB / 0.9767 GB, free: 7.715 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.1553, allocations: 15.98 kB / 0.9767 GB, free: 7.699 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001528/0.1555, allocations: 302.7 kB / 0.977 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.01e-07/0.1555, allocations: 0 / 0.977 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004685/0.1559, allocations: 335.3 kB / 0.9773 GB, free: 7.078 MB / 0.9323 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.0001886/0.1561, allocations: 147 kB / 0.9775 GB, free: 6.926 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002865/0.1564, allocations: 262.3 kB / 0.9777 GB, free: 6.664 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1564, allocations: 0 / 0.9777 GB, free: 6.664 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 9.213e-05/0.1565, allocations: 96 kB / 0.9778 GB, free: 6.566 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007683/0.1573, allocations: 334.6 kB / 0.9781 GB, free: 6.246 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.1585, allocations: 1.107 MB / 0.9792 GB, free: 5.074 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001043/0.1586, allocations: 162.3 kB / 0.9794 GB, free: 4.895 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.1588, allocations: 100.8 kB / 0.9795 GB, free: 4.797 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004218/0.1593, allocations: 314 kB / 0.9798 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of SimCode: time 8.21e-07/0.1593, allocations: 0 / 0.9798 GB, free: 4.488 MB / 0.9323 GB Notification: Performance of Templates: time 0.01444/0.1737, allocations: 12.2 MB / 0.9917 GB, free: 8.617 MB / 0.948 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 -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.290465427096933]