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.0009499/0.0009499, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001222/0.001222, allocations: 173 kB / 23.49 MB, free: 1.055 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.947/0.947, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.05/2.05, allocations: 429.5 MB / 0.6736 GB, free: 4.039 MB / 0.6355 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.373e-06/1.373e-06, allocations: 0 / 0.8781 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.743e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1472/0.1472, allocations: 180.3 MB / 1.054 GB, free: 1.754 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.4359/0.5831, allocations: 5.82 MB / 1.06 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005863/0.5837, allocations: 51.25 kB / 1.06 GB, free: 47.61 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008396/0.5845, allocations: 433.1 kB / 1.06 GB, free: 47.6 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002279/0.5868, allocations: 1.523 MB / 1.062 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.5888, allocations: 1.132 MB / 1.063 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.5904, allocations: 1.957 MB / 1.065 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005688/0.5909, allocations: 0.4926 MB / 1.065 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.5927, allocations: 1.397 MB / 1.067 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009126/0.5936, allocations: 0.523 MB / 1.067 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.5937, allocations: 59.44 kB / 1.067 GB, free: 47.46 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001461/0.5952, allocations: 1.167 MB / 1.068 GB, free: 47.4 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002163/0.5954, allocations: 303.5 kB / 1.069 GB, free: 47.36 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002774/0.5957, allocations: 294.5 kB / 1.069 GB, free: 47.32 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001379/0.5971, allocations: 1.182 MB / 1.07 GB, free: 47.18 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5971, allocations: 5.875 kB / 1.07 GB, free: 47.18 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5971, allocations: 0 / 1.07 GB, free: 47.18 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.5971, allocations: 1 kB / 1.07 GB, free: 47.18 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.001099/0.5982, allocations: 1.21 MB / 1.071 GB, free: 46.44 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5982, allocations: 11.25 kB / 1.071 GB, free: 46.44 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008857/0.5991, allocations: 286.4 kB / 1.072 GB, free: 46.38 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006011/0.5997, allocations: 0.6128 MB / 1.072 GB, free: 46.13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5997, allocations: 43.28 kB / 1.072 GB, free: 46.13 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.679e-05/0.5998, allocations: 62.03 kB / 1.072 GB, free: 46.13 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.6002, allocations: 470.1 kB / 1.073 GB, free: 45.9 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.6003, allocations: 0 / 1.073 GB, free: 45.9 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.6003, allocations: 22 kB / 1.073 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.354e-05/0.6003, allocations: 16.38 kB / 1.073 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.6006, allocations: 187.7 kB / 1.073 GB, free: 45.89 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.001357/0.602, allocations: 1.262 MB / 1.074 GB, free: 45.53 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.6023, allocations: 205.3 kB / 1.074 GB, free: 45.5 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.6024, allocations: 102.5 kB / 1.075 GB, free: 45.48 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.6025, allocations: 43.5 kB / 1.075 GB, free: 45.48 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.6025, allocations: 42.8 kB / 1.075 GB, free: 45.44 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.623e-06/0.6025, allocations: 0.8125 kB / 1.075 GB, free: 45.44 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.0005571/0.6031, allocations: 328.2 kB / 1.075 GB, free: 45.37 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.6031, allocations: 62.31 kB / 1.075 GB, free: 45.3 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.6035, allocations: 0.5576 MB / 1.076 GB, free: 45.11 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.6035, allocations: 35.33 kB / 1.076 GB, free: 45.08 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.6036, allocations: 382.8 kB / 1.076 GB, free: 44.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 5.767e-05/0.6037, allocations: 133.8 kB / 1.076 GB, free: 44.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-05/0.6038, allocations: 97.28 kB / 1.076 GB, free: 44.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.6039, allocations: 0.5485 MB / 1.077 GB, free: 44.28 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.604, allocations: 68.7 kB / 1.077 GB, free: 44.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001825/0.6041, allocations: 472.8 kB / 1.077 GB, free: 43.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.6044, allocations: 373.2 kB / 1.078 GB, free: 43.52 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6044, allocations: 0.9062 kB / 1.078 GB, free: 43.52 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.000407/0.6048, allocations: 395.1 kB / 1.078 GB, free: 43.45 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6049, allocations: 5.594 kB / 1.078 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.6049, allocations: 6.5 kB / 1.078 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.6049, allocations: 7.969 kB / 1.078 GB, free: 43.45 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.6051, allocations: 110.2 kB / 1.078 GB, free: 43.44 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.6051, allocations: 15.69 kB / 1.078 GB, free: 43.44 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.6053, allocations: 52.67 kB / 1.078 GB, free: 43.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.589e-05/0.6054, allocations: 22.88 kB / 1.078 GB, free: 43.41 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001582/0.6055, allocations: 192.3 kB / 1.078 GB, free: 43.29 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001623/0.6057, allocations: 470.9 kB / 1.079 GB, free: 42.79 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002593/0.6059, allocations: 372 kB / 1.079 GB, free: 42.53 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.6059, allocations: 4.031 kB / 1.079 GB, free: 42.53 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0003828/0.6063, allocations: 395.2 kB / 1.079 GB, free: 42.46 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.6063, allocations: 5.812 kB / 1.079 GB, free: 42.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6063, allocations: 5.5 kB / 1.08 GB, free: 42.46 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.131e-06/0.6063, allocations: 12.03 kB / 1.08 GB, free: 42.46 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6065, allocations: 99.03 kB / 1.08 GB, free: 42.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.6065, allocations: 15.02 kB / 1.08 GB, free: 42.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.6068, allocations: 40.53 kB / 1.08 GB, free: 42.44 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.994e-05/0.6068, allocations: 21.78 kB / 1.08 GB, free: 42.44 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 8.92e-05/0.6069, allocations: 302.5 kB / 1.08 GB, free: 42.18 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.6069, allocations: 74.64 kB / 1.08 GB, free: 42.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.6072, allocations: 266.7 kB / 1.08 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.6072, allocations: 2.906 kB / 1.08 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6072, allocations: 3.938 kB / 1.08 GB, free: 42.09 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002083/0.6075, allocations: 286.8 kB / 1.081 GB, free: 41.92 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007983/0.6082, allocations: 0.8957 MB / 1.081 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6083, allocations: 3.938 kB / 1.081 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.6085, allocations: 82.59 kB / 1.082 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.6085, allocations: 2.938 kB / 1.082 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.6085, allocations: 10.97 kB / 1.082 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.6085, allocations: 6.266 kB / 1.082 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.6085, allocations: 7.781 kB / 1.082 GB, free: 41.55 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004171/0.6089, allocations: 0.5015 MB / 1.082 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.609, allocations: 109.6 kB / 1.082 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.33e-05/0.6091, allocations: 6.969 kB / 1.082 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001838/0.6093, allocations: 15.17 kB / 1.082 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.6093, allocations: 23.83 kB / 1.082 GB, free: 41.21 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.6093, allocations: 22.03 kB / 1.082 GB, free: 41.21 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0002106/0.6095, allocations: 362.9 kB / 1.083 GB, free: 41.07 MB / 1.01 GB Notification: Performance of sort global known variables: time 6e-08/0.6095, allocations: 0.9062 kB / 1.083 GB, free: 41.07 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0005844/0.6101, allocations: 357.4 kB / 1.083 GB, free: 41.02 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.0002208/0.6103, allocations: 180.1 kB / 1.083 GB, free: 40.93 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.6108, allocations: 398.6 kB / 1.083 GB, free: 40.89 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6108, allocations: 0 / 1.083 GB, free: 40.89 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.6109, allocations: 117.8 kB / 1.084 GB, free: 40.88 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008216/0.6117, allocations: 332.4 kB / 1.084 GB, free: 40.86 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.6131, allocations: 1.16 MB / 1.085 GB, free: 40.25 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.6132, allocations: 169.6 kB / 1.085 GB, free: 40.18 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0003229/0.6135, allocations: 168.6 kB / 1.085 GB, free: 40.16 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.875e-05/0.6136, allocations: 59.69 kB / 1.085 GB, free: 40.15 MB / 1.01 GB Notification: Performance of SimCode: time 8.42e-07/0.6136, allocations: 1.031 kB / 1.085 GB, free: 40.15 MB / 1.01 GB Notification: Performance of Templates: time 0.01637/0.63, allocations: 11.85 MB / 1.097 GB, free: 39.05 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.2400128920562565]