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.0009225/0.0009225, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009688/0.0009688, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9696/0.9696, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.753/1.753, allocations: 359 MB / 0.6052 GB, free: 11.02 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.994e-06/1.994e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.441e-05, allocations: 6.234 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1393/0.1393, allocations: 149.4 MB / 0.933 GB, free: 6.621 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.005689/0.145, allocations: 3.808 MB / 0.9367 GB, free: 2.805 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.146, allocations: 43.62 kB / 0.9367 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006697/0.1467, allocations: 218.3 kB / 0.9369 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.1486, allocations: 0.9091 MB / 0.9378 GB, free: 1.633 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.1502, allocations: 0.783 MB / 0.9386 GB, free: 0.8477 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.002149/0.1523, allocations: 1.867 MB / 0.9404 GB, free: 14.97 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.1531, allocations: 481.2 kB / 0.9409 GB, free: 14.48 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001402/0.1545, allocations: 0.8726 MB / 0.9417 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001031/0.1556, allocations: 0.5164 MB / 0.9422 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.1557, allocations: 56 kB / 0.9423 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.1569, allocations: 0.713 MB / 0.943 GB, free: 12.34 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002741/0.1572, allocations: 299.1 kB / 0.9433 GB, free: 12.04 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.1575, allocations: 279.3 kB / 0.9435 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001687/0.1592, allocations: 0.9538 MB / 0.9445 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1592, allocations: 0 / 0.9445 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1592, allocations: 0 / 0.9445 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 1.698e-05/0.1592, allocations: 0 / 0.9445 GB, free: 10.81 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.001413/0.1607, allocations: 1.129 MB / 0.9456 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.1607, allocations: 12.03 kB / 0.9456 GB, free: 9.633 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009239/0.1616, allocations: 275.9 kB / 0.9458 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.1623, allocations: 0.5746 MB / 0.9464 GB, free: 8.762 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1624, allocations: 37 kB / 0.9464 GB, free: 8.727 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.855e-05/0.1624, allocations: 56 kB / 0.9465 GB, free: 8.672 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005166/0.1629, allocations: 469.3 kB / 0.9469 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.163, allocations: 0 / 0.9469 GB, free: 8.168 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.358e-05/0.163, allocations: 19.98 kB / 0.9469 GB, free: 8.148 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.921e-05/0.163, allocations: 17 kB / 0.947 GB, free: 8.129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000292/0.1633, allocations: 177.9 kB / 0.9471 GB, free: 7.961 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.001769/0.1651, allocations: 1.234 MB / 0.9483 GB, free: 6.684 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.1654, allocations: 204.1 kB / 0.9485 GB, free: 6.473 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.1656, allocations: 100.1 kB / 0.9486 GB, free: 6.371 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.1657, allocations: 24.27 kB / 0.9486 GB, free: 6.348 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1657, allocations: 37.67 kB / 0.9487 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.415e-06/0.1657, allocations: 0 / 0.9487 GB, free: 6.301 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.0006234/0.1664, allocations: 327.3 kB / 0.949 GB, free: 5.977 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.1664, allocations: 59.34 kB / 0.9491 GB, free: 5.906 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003624/0.1667, allocations: 494.7 kB / 0.9495 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1668, allocations: 37.64 kB / 0.9496 GB, free: 5.363 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.167, allocations: 375.1 kB / 0.9499 GB, free: 4.988 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 7.113e-05/0.167, allocations: 115 kB / 0.95 GB, free: 4.875 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.538e-05/0.1671, allocations: 75.64 kB / 0.9501 GB, free: 4.793 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1673, allocations: 0.543 MB / 0.9506 GB, free: 4.238 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.842e-05/0.1674, allocations: 56.97 kB / 0.9507 GB, free: 4.18 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004444/0.1678, allocations: 312.5 kB / 0.951 GB, free: 3.805 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.168, allocations: 168.2 kB / 0.9511 GB, free: 3.625 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.168, allocations: 4 kB / 0.9511 GB, free: 3.621 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003305/0.1684, allocations: 270 kB / 0.9514 GB, free: 3.352 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.1684, allocations: 8 kB / 0.9514 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1684, allocations: 0 / 0.9514 GB, free: 3.344 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1684, allocations: 4.094 kB / 0.9514 GB, free: 3.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.1686, allocations: 71.91 kB / 0.9515 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1686, allocations: 7.938 kB / 0.9515 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1688, allocations: 27.83 kB / 0.9515 GB, free: 3.234 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.1688, allocations: 12 kB / 0.9515 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001674/0.169, allocations: 178.8 kB / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001685/0.1692, allocations: 291.7 kB / 0.952 GB, free: 2.688 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001946/0.1694, allocations: 166.6 kB / 0.9521 GB, free: 2.508 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.1694, allocations: 4 kB / 0.9521 GB, free: 2.504 MB / 0.9011 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0003213/0.1697, allocations: 269.1 kB / 0.9524 GB, free: 2.234 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.756e-06/0.1697, allocations: 4 kB / 0.9524 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1697, allocations: 4 kB / 0.9524 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.1697, allocations: 0 / 0.9524 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.1699, allocations: 71.91 kB / 0.9525 GB, free: 2.156 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.1699, allocations: 3.938 kB / 0.9525 GB, free: 2.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.1701, allocations: 27.84 kB / 0.9525 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.1701, allocations: 24.02 kB / 0.9525 GB, free: 2.102 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 0.000126/0.1702, allocations: 291.9 kB / 0.9528 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.1703, allocations: 63.67 kB / 0.9529 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.1706, allocations: 264 kB / 0.9531 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.1706, allocations: 4 kB / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.1706, allocations: 0 / 0.9531 GB, free: 1.48 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002341/0.1708, allocations: 280.3 kB / 0.9534 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009518/0.1718, allocations: 0.8857 MB / 0.9543 GB, free: 228 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.1718, allocations: 4 kB / 0.9543 GB, free: 224 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002254/0.172, allocations: 83.89 kB / 0.9543 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.172, allocations: 0 / 0.9543 GB, free: 140 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.544e-05/0.1721, allocations: 8 kB / 0.9543 GB, free: 132 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.1721, allocations: 11.88 kB / 0.9544 GB, free: 120 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1721, allocations: 4 kB / 0.9544 GB, free: 116 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.1726, allocations: 0.5055 MB / 0.9549 GB, free: 15.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.1727, allocations: 95.56 kB / 0.9549 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.1728, allocations: 8 kB / 0.955 GB, free: 15.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.173, allocations: 19.98 kB / 0.955 GB, free: 15.44 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.173, allocations: 23.97 kB / 0.955 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.173, allocations: 19.98 kB / 0.955 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002406/0.1733, allocations: 326.8 kB / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.1733, allocations: 0 / 0.9553 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006274/0.1739, allocations: 335.3 kB / 0.9556 GB, free: 14.75 MB / 0.9167 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.0002626/0.1742, allocations: 147 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004704/0.1746, allocations: 289.1 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1746, allocations: 0 / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.1748, allocations: 112.2 kB / 0.9562 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.1757, allocations: 331.1 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1775, allocations: 1.111 MB / 0.9576 GB, free: 12.71 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.1779, allocations: 166.2 kB / 0.9577 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003845/0.1783, allocations: 152.7 kB / 0.9579 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1784, allocations: 56.42 kB / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of SimCode: time 1.072e-06/0.1784, allocations: 0 / 0.9579 GB, free: 12.32 MB / 0.9167 GB Notification: Performance of Templates: time 0.01567/0.194, allocations: 11.17 MB / 0.9688 GB, free: 1.457 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.541419046930969]