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.0009173/0.0009173, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001013/0.001013, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9508/0.9508, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.311/2.311, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.413e-06/1.413e-06, allocations: 0 / 0.8897 GB, free: 9.789 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.068e-05, allocations: 9.203 kB / 0.8897 GB, free: 9.781 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1329/0.1329, allocations: 146.8 MB / 1.033 GB, free: 6.445 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.005008/0.138, allocations: 4.698 MB / 1.038 GB, free: 1.734 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003111/0.1383, allocations: 47.56 kB / 1.038 GB, free: 1.688 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005041/0.1388, allocations: 222.3 kB / 1.038 GB, free: 1.469 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.1399, allocations: 0.9284 MB / 1.039 GB, free: 0.5352 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.1412, allocations: 1.087 MB / 1.04 GB, free: 15.45 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001339/0.1426, allocations: 1.925 MB / 1.042 GB, free: 13.51 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.143, allocations: 487.5 kB / 1.042 GB, free: 13.02 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.1442, allocations: 1.054 MB / 1.043 GB, free: 11.98 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004498/0.1446, allocations: 0.5063 MB / 1.044 GB, free: 11.47 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.695e-05/0.1447, allocations: 60 kB / 1.044 GB, free: 11.41 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006558/0.1454, allocations: 0.6002 MB / 1.044 GB, free: 10.81 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001823/0.1455, allocations: 299.1 kB / 1.045 GB, free: 10.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1458, allocations: 295.3 kB / 1.045 GB, free: 10.23 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0008268/0.1466, allocations: 0.9576 MB / 1.046 GB, free: 9.27 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1466, allocations: 4 kB / 1.046 GB, free: 9.266 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1466, allocations: 0 / 1.046 GB, free: 9.266 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.652e-06/0.1466, allocations: 0 / 1.046 GB, free: 9.266 MB / 1.01 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.0009819/0.1476, allocations: 1.152 MB / 1.047 GB, free: 8.074 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1476, allocations: 20.5 kB / 1.047 GB, free: 8.055 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.1482, allocations: 267.9 kB / 1.047 GB, free: 7.793 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1488, allocations: 0.5938 MB / 1.048 GB, free: 7.172 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.1488, allocations: 37 kB / 1.048 GB, free: 7.137 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.273e-05/0.1488, allocations: 56 kB / 1.048 GB, free: 7.082 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.1492, allocations: 433.4 kB / 1.048 GB, free: 6.613 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/0.1492, allocations: 3.953 kB / 1.048 GB, free: 6.609 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.1492, allocations: 20 kB / 1.048 GB, free: 6.59 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.114e-05/0.1492, allocations: 20.98 kB / 1.048 GB, free: 6.566 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001739/0.1494, allocations: 138.9 kB / 1.049 GB, free: 6.43 MB / 1.01 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.002122/0.1515, allocations: 1.284 MB / 1.05 GB, free: 5.105 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002842/0.1518, allocations: 195.8 kB / 1.05 GB, free: 4.902 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.1519, allocations: 84.75 kB / 1.05 GB, free: 4.816 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/0.152, allocations: 24.27 kB / 1.05 GB, free: 4.793 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/0.152, allocations: 41.67 kB / 1.05 GB, free: 4.742 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.152, allocations: 0 / 1.05 GB, free: 4.742 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0004713/0.1525, allocations: 307.7 kB / 1.05 GB, free: 4.438 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.1525, allocations: 59.34 kB / 1.05 GB, free: 4.367 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003764/0.1529, allocations: 0.5422 MB / 1.051 GB, free: 3.809 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.1529, allocations: 37.64 kB / 1.051 GB, free: 3.766 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1531, allocations: 399.7 kB / 1.051 GB, free: 3.371 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 6.67e-05/0.1532, allocations: 126.9 kB / 1.052 GB, free: 3.246 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.1532, allocations: 103.8 kB / 1.052 GB, free: 3.137 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.1534, allocations: 0.5546 MB / 1.052 GB, free: 2.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.1534, allocations: 57.64 kB / 1.052 GB, free: 2.512 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.1538, allocations: 462.9 kB / 1.053 GB, free: 1.914 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.154, allocations: 350.8 kB / 1.053 GB, free: 1.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.154, allocations: 4 kB / 1.053 GB, free: 1.477 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0003207/0.1543, allocations: 360.7 kB / 1.053 GB, free: 1.117 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1543, allocations: 8 kB / 1.053 GB, free: 1.109 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1544, allocations: 7.984 kB / 1.053 GB, free: 1.102 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1544, allocations: 8 kB / 1.053 GB, free: 1.094 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1546, allocations: 99.84 kB / 1.053 GB, free: 0.9961 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.1546, allocations: 11.98 kB / 1.053 GB, free: 0.9844 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.1548, allocations: 52.03 kB / 1.054 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.1548, allocations: 20 kB / 1.054 GB, free: 0.9141 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000125/0.1549, allocations: 183.8 kB / 1.054 GB, free: 0.7305 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001893/0.1551, allocations: 458.9 kB / 1.054 GB, free: 136 kB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.4299/0.585, allocations: 342.8 kB / 1.055 GB, free: 58.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.585, allocations: 2.656 kB / 1.055 GB, free: 58.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0004362/0.5854, allocations: 359.8 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.5854, allocations: 6.219 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.5854, allocations: 5.906 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.5854, allocations: 9.312 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.5857, allocations: 104.8 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.5857, allocations: 10.31 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.5859, allocations: 45.36 kB / 1.055 GB, free: 58.95 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.5859, allocations: 19.08 kB / 1.055 GB, free: 58.95 MB / 1.01 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 0.0001119/0.5861, allocations: 302.7 kB / 1.055 GB, free: 58.68 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.079e-05/0.5861, allocations: 73.67 kB / 1.055 GB, free: 58.68 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.5864, allocations: 246.4 kB / 1.056 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.5864, allocations: 2.562 kB / 1.056 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.5864, allocations: 1.094 kB / 1.056 GB, free: 58.64 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001535/0.5866, allocations: 263.1 kB / 1.056 GB, free: 58.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007485/0.5873, allocations: 0.7851 MB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5873, allocations: 0 / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.5876, allocations: 77.11 kB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5876, allocations: 8.594 kB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5876, allocations: 9.812 kB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5876, allocations: 9.906 kB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5876, allocations: 2.656 kB / 1.057 GB, free: 58.14 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.5879, allocations: 488.2 kB / 1.057 GB, free: 57.88 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.588, allocations: 102 kB / 1.057 GB, free: 57.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.5881, allocations: 8.969 kB / 1.057 GB, free: 57.86 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.5883, allocations: 19.88 kB / 1.057 GB, free: 57.86 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.5883, allocations: 35.11 kB / 1.057 GB, free: 57.85 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5883, allocations: 8.5 kB / 1.057 GB, free: 57.85 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001521/0.5885, allocations: 343.4 kB / 1.058 GB, free: 57.71 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.5885, allocations: 0 / 1.058 GB, free: 57.71 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006204/0.5891, allocations: 363.2 kB / 1.058 GB, free: 57.69 MB / 1.01 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.0001971/0.5893, allocations: 143 kB / 1.058 GB, free: 57.61 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.5897, allocations: 356.3 kB / 1.059 GB, free: 57.57 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5897, allocations: 0.9375 kB / 1.059 GB, free: 57.57 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.5897, allocations: 98.98 kB / 1.059 GB, free: 57.56 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/0.5905, allocations: 333.1 kB / 1.059 GB, free: 57.55 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.5919, allocations: 1.174 MB / 1.06 GB, free: 56.95 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.797e-05/0.592, allocations: 170 kB / 1.06 GB, free: 56.88 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003217/0.5923, allocations: 111 kB / 1.06 GB, free: 56.87 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.5927, allocations: 319.3 kB / 1.061 GB, free: 56.8 MB / 1.01 GB Notification: Performance of SimCode: time 8.32e-07/0.5927, allocations: 0 / 1.061 GB, free: 56.8 MB / 1.01 GB Notification: Performance of Templates: time 0.01411/0.6068, allocations: 12.47 MB / 1.073 GB, free: 55.9 MB / 1.01 GB " [Timeout remaining time 299] 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 -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: 6.0022361520677805]