Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001047/0.001047, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001121/0.001121, allocations: 164.9 kB / 24.87 MB, free: 8.891 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.9532/0.9532, allocations: 177.2 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.733/1.733, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.579e-05, allocations: 4.219 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1411/0.1411, allocations: 146.6 MB / 0.9315 GB, free: 9.141 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.004304/0.1454, allocations: 3.775 MB / 0.9352 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.1458, allocations: 39.62 kB / 0.9352 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.1462, allocations: 218.3 kB / 0.9354 GB, free: 5.105 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001165/0.1474, allocations: 0.9129 MB / 0.9363 GB, free: 4.188 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009542/0.1483, allocations: 0.7868 MB / 0.9371 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001528/0.1498, allocations: 1.863 MB / 0.9389 GB, free: 1.527 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.1503, allocations: 485.2 kB / 0.9393 GB, free: 1.035 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.1514, allocations: 1.005 MB / 0.9403 GB, free: 48 kB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004639/0.1519, allocations: 0.4985 MB / 0.9408 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 6.06e-05/0.152, allocations: 60 kB / 0.9409 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006371/0.1526, allocations: 0.6157 MB / 0.9415 GB, free: 14.87 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.1528, allocations: 287.1 kB / 0.9417 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002016/0.153, allocations: 275.4 kB / 0.942 GB, free: 14.32 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008521/0.1538, allocations: 0.9149 MB / 0.9429 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.1539, allocations: 0 / 0.9429 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1539, allocations: 0 / 0.9429 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.1539, allocations: 3.984 kB / 0.9429 GB, free: 13.4 MB / 0.9011 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.0009176/0.1548, allocations: 1.117 MB / 0.944 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.1548, allocations: 8.031 kB / 0.944 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006461/0.1555, allocations: 255.9 kB / 0.9442 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.156, allocations: 0.5502 MB / 0.9448 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.233e-05/0.156, allocations: 37 kB / 0.9448 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.13e-05/0.1561, allocations: 52 kB / 0.9449 GB, free: 11.32 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003704/0.1565, allocations: 433.4 kB / 0.9453 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1565, allocations: 0 / 0.9453 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1565, allocations: 20 kB / 0.9453 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.1565, allocations: 17 kB / 0.9453 GB, free: 10.82 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002214/0.1567, allocations: 146.8 kB / 0.9455 GB, free: 10.67 MB / 0.9011 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.001268/0.158, allocations: 1.237 MB / 0.9467 GB, free: 9.395 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1582, allocations: 189.8 kB / 0.9468 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.314e-05/0.1583, allocations: 82.22 kB / 0.9469 GB, free: 9.117 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.543e-05/0.1584, allocations: 32.27 kB / 0.947 GB, free: 9.086 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.1584, allocations: 37.67 kB / 0.947 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 1.322e-06/0.1584, allocations: 0 / 0.947 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.0004335/0.1589, allocations: 287.3 kB / 0.9473 GB, free: 8.754 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.362e-05/0.1589, allocations: 63.34 kB / 0.9473 GB, free: 8.68 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.1592, allocations: 486.5 kB / 0.9478 GB, free: 8.188 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1592, allocations: 29.7 kB / 0.9478 GB, free: 8.152 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002901/0.1595, allocations: 379.1 kB / 0.9482 GB, free: 7.773 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.1595, allocations: 130.9 kB / 0.9483 GB, free: 7.645 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.493e-05/0.1596, allocations: 75.64 kB / 0.9484 GB, free: 7.562 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.1598, allocations: 0.5429 MB / 0.9489 GB, free: 7.008 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.1598, allocations: 48.95 kB / 0.949 GB, free: 6.957 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.16, allocations: 292.5 kB / 0.9492 GB, free: 6.602 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.1601, allocations: 144.1 kB / 0.9494 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1601, allocations: 0 / 0.9494 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000246/0.1604, allocations: 257.9 kB / 0.9496 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.1604, allocations: 4 kB / 0.9496 GB, free: 6.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1604, allocations: 4 kB / 0.9496 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.1604, allocations: 0 / 0.9496 GB, free: 6.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.1605, allocations: 71.91 kB / 0.9497 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.484e-06/0.1605, allocations: 0 / 0.9497 GB, free: 6.109 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.1607, allocations: 35.7 kB / 0.9497 GB, free: 6.074 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1607, allocations: 12 kB / 0.9497 GB, free: 6.062 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001203/0.1609, allocations: 166.8 kB / 0.9499 GB, free: 5.895 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001312/0.161, allocations: 291.7 kB / 0.9502 GB, free: 5.539 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001325/0.1611, allocations: 150.6 kB / 0.9503 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.91e-07/0.1611, allocations: 0 / 0.9503 GB, free: 5.375 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000232/0.1614, allocations: 245.1 kB / 0.9506 GB, free: 5.129 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 4.919e-06/0.1614, allocations: 8 kB / 0.9506 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-06/0.1614, allocations: 0 / 0.9506 GB, free: 5.121 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.1614, allocations: 4 kB / 0.9506 GB, free: 5.117 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.1615, allocations: 72.12 kB / 0.9506 GB, free: 5.047 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.1615, allocations: 8 kB / 0.9506 GB, free: 5.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.1617, allocations: 23.84 kB / 0.9507 GB, free: 5.016 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.619e-05/0.1617, allocations: 15.98 kB / 0.9507 GB, free: 5 MB / 0.9011 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 9.406e-05/0.1618, allocations: 284 kB / 0.9509 GB, free: 4.715 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.1619, allocations: 67.67 kB / 0.951 GB, free: 4.648 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.1621, allocations: 247.9 kB / 0.9512 GB, free: 4.402 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1621, allocations: 4 kB / 0.9513 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1621, allocations: 0 / 0.9513 GB, free: 4.398 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004342/0.1626, allocations: 260.3 kB / 0.9515 GB, free: 4.113 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006951/0.1633, allocations: 0.769 MB / 0.9523 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1633, allocations: 0 / 0.9523 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1635, allocations: 83.89 kB / 0.9523 GB, free: 3.203 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1635, allocations: 4 kB / 0.9523 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.1635, allocations: 8 kB / 0.9523 GB, free: 3.191 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1635, allocations: 8.188 kB / 0.9524 GB, free: 3.184 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.1635, allocations: 3.938 kB / 0.9524 GB, free: 3.18 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003786/0.1639, allocations: 493.4 kB / 0.9528 GB, free: 2.652 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.164, allocations: 91.52 kB / 0.9529 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.164, allocations: 8 kB / 0.9529 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1642, allocations: 21.88 kB / 0.9529 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1642, allocations: 27.89 kB / 0.953 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1642, allocations: 15.94 kB / 0.953 GB, free: 2.492 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001531/0.1644, allocations: 310.7 kB / 0.9533 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.1644, allocations: 7.938 kB / 0.9533 GB, free: 2.184 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004904/0.1649, allocations: 331.3 kB / 0.9536 GB, free: 1.859 MB / 0.9011 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.0001669/0.1651, allocations: 143 kB / 0.9537 GB, free: 1.711 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.1653, allocations: 257.5 kB / 0.954 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1653, allocations: 4 kB / 0.954 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 9.956e-05/0.1654, allocations: 103.4 kB / 0.9541 GB, free: 1.344 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007687/0.1662, allocations: 327.2 kB / 0.9544 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1674, allocations: 1.104 MB / 0.9555 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001037/0.1675, allocations: 162.3 kB / 0.9556 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0002399/0.1678, allocations: 104.8 kB / 0.9557 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/0.1682, allocations: 314 kB / 0.956 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of SimCode: time 4.6e-07/0.1682, allocations: 0 / 0.956 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of Templates: time 0.01473/0.1829, allocations: 12.35 MB / 0.9681 GB, free: 3.246 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.330949465744197]