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.001881/0.001881, allocations: 92.7 kB / 19.44 MB, free: 324 kB / 13.93 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.002728/0.002728, allocations: 161.3 kB / 22.76 MB, free: 1.656 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 1.608/1.608, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 3.441/3.441, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] 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 2.444e-06/2.444e-06, allocations: 0 / 0.8776 GB, free: 6.512 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.455e-05/3.7e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.508 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2564/0.2564, allocations: 162 MB / 1.036 GB, free: 3.938 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.2702, allocations: 5.457 MB / 1.041 GB, free: 14.47 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.2719, allocations: 51.56 kB / 1.041 GB, free: 14.42 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.2737, allocations: 433.1 kB / 1.042 GB, free: 13.99 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.005732/0.2795, allocations: 1.512 MB / 1.043 GB, free: 12.47 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.2836, allocations: 1.137 MB / 1.044 GB, free: 11.33 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.003879/0.2875, allocations: 1.968 MB / 1.046 GB, free: 9.359 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.2888, allocations: 495.4 kB / 1.047 GB, free: 8.859 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004261/0.293, allocations: 1.394 MB / 1.048 GB, free: 7.461 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.2951, allocations: 0.5211 MB / 1.048 GB, free: 6.949 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002546/0.2953, allocations: 60 kB / 1.048 GB, free: 6.891 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.2986, allocations: 1.161 MB / 1.05 GB, free: 5.727 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005998/0.2992, allocations: 295 kB / 1.05 GB, free: 5.438 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0008735/0.3001, allocations: 299.3 kB / 1.05 GB, free: 5.145 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.00375/0.3038, allocations: 1.491 MB / 1.052 GB, free: 3.648 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3038, allocations: 4 kB / 1.052 GB, free: 3.645 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3038, allocations: 0 / 1.052 GB, free: 3.645 MB / 1.01 GB Notification: Performance of Transformations before backend: time 4.9e-05/0.3039, allocations: 0 / 1.052 GB, free: 3.645 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.003093/0.307, allocations: 1.103 MB / 1.053 GB, free: 2.508 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.307, allocations: 12.02 kB / 1.053 GB, free: 2.496 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.3088, allocations: 290.9 kB / 1.053 GB, free: 2.211 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001743/0.3106, allocations: 0.6311 MB / 1.054 GB, free: 1.555 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.459e-05/0.3106, allocations: 41 kB / 1.054 GB, free: 1.516 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.3108, allocations: 52 kB / 1.054 GB, free: 1.465 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.3121, allocations: 0.6412 MB / 1.054 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.3121, allocations: 3.984 kB / 1.054 GB, free: 0.7812 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.3122, allocations: 23.94 kB / 1.054 GB, free: 0.7578 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.3122, allocations: 21 kB / 1.054 GB, free: 0.7344 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/0.3132, allocations: 435.7 kB / 1.055 GB, free: 320 kB / 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.6615/0.9747, allocations: 1.308 MB / 1.056 GB, free: 90.7 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.9753, allocations: 327.4 kB / 1.056 GB, free: 90.68 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.9756, allocations: 194.2 kB / 1.057 GB, free: 90.67 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002445/0.9758, allocations: 42.59 kB / 1.057 GB, free: 90.67 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.9759, allocations: 45.73 kB / 1.057 GB, free: 90.63 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 2.154e-06/0.9759, allocations: 0 / 1.057 GB, free: 90.63 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.001313/0.9772, allocations: 0.558 MB / 1.057 GB, free: 90.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.9772, allocations: 60.19 kB / 1.057 GB, free: 90.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.9778, allocations: 0.542 MB / 1.058 GB, free: 90.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.9778, allocations: 38.77 kB / 1.058 GB, free: 90.37 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002017/0.978, allocations: 335.5 kB / 1.058 GB, free: 90.25 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 9.37e-05/0.9781, allocations: 124.2 kB / 1.058 GB, free: 90.19 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9782, allocations: 92.92 kB / 1.058 GB, free: 90.17 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.9783, allocations: 370.5 kB / 1.059 GB, free: 89.86 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.9786, allocations: 163 kB / 1.059 GB, free: 89.85 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.979, allocations: 490.8 kB / 1.059 GB, free: 89.46 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006636/0.9797, allocations: 498.1 kB / 1.06 GB, free: 89.29 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.9797, allocations: 0 / 1.06 GB, free: 89.29 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009081/0.9806, allocations: 0.5657 MB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.9806, allocations: 9.531 kB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9806, allocations: 6.625 kB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.559e-05/0.9807, allocations: 9.875 kB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004022/0.9811, allocations: 108.4 kB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.9811, allocations: 12.38 kB / 1.06 GB, free: 89.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.9816, allocations: 56.98 kB / 1.061 GB, free: 89.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.9817, allocations: 23.41 kB / 1.061 GB, free: 89.2 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004328/0.9821, allocations: 332.8 kB / 1.061 GB, free: 89.11 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000357/0.9825, allocations: 489.3 kB / 1.061 GB, free: 88.72 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005718/0.983, allocations: 486.8 kB / 1.062 GB, free: 88.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.983, allocations: 0.8438 kB / 1.062 GB, free: 88.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0007955/0.9838, allocations: 0.5671 MB / 1.062 GB, free: 88.47 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/0.9838, allocations: 5.75 kB / 1.062 GB, free: 88.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9839, allocations: 6.406 kB / 1.062 GB, free: 88.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.583e-06/0.9839, allocations: 8.906 kB / 1.062 GB, free: 88.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.9842, allocations: 107.8 kB / 1.062 GB, free: 88.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9842, allocations: 8.062 kB / 1.062 GB, free: 88.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.9847, allocations: 46.77 kB / 1.063 GB, free: 88.46 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.9847, allocations: 22.64 kB / 1.063 GB, free: 88.46 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.000143/0.9849, allocations: 219 kB / 1.063 GB, free: 88.28 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.985, allocations: 75.11 kB / 1.063 GB, free: 88.24 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000757/0.9858, allocations: 415.1 kB / 1.063 GB, free: 88.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.9858, allocations: 9.781 kB / 1.063 GB, free: 88.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.9858, allocations: 0 / 1.063 GB, free: 88.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005661/0.9863, allocations: 441 kB / 1.064 GB, free: 88.03 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001649/0.988, allocations: 1.033 MB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.988, allocations: 0 / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004207/0.9884, allocations: 89.64 kB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.9884, allocations: 3.75 kB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.357e-05/0.9885, allocations: 8.906 kB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.9885, allocations: 3 kB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.9885, allocations: 4.172 kB / 1.065 GB, free: 87.74 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.9896, allocations: 0.7125 MB / 1.065 GB, free: 87.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002095/0.9898, allocations: 110.2 kB / 1.066 GB, free: 87.49 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.103e-05/0.9899, allocations: 10.72 kB / 1.066 GB, free: 87.49 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.9903, allocations: 24.23 kB / 1.066 GB, free: 87.49 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.9904, allocations: 25.73 kB / 1.066 GB, free: 87.49 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.9904, allocations: 16.86 kB / 1.066 GB, free: 87.49 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004128/0.9908, allocations: 378.7 kB / 1.066 GB, free: 87.39 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.9908, allocations: 1.531 kB / 1.066 GB, free: 87.39 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001114/0.992, allocations: 361.9 kB / 1.066 GB, free: 87.37 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.0003887/0.9923, allocations: 179.3 kB / 1.067 GB, free: 87.28 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001054/0.9934, allocations: 0.5911 MB / 1.067 GB, free: 87.27 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.9934, allocations: 0 / 1.067 GB, free: 87.27 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002912/0.9937, allocations: 181.5 kB / 1.067 GB, free: 87.27 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001581/0.9953, allocations: 338.9 kB / 1.068 GB, free: 87.26 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.9974, allocations: 1.266 MB / 1.069 GB, free: 86.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.9977, allocations: 360.3 kB / 1.069 GB, free: 86.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0005312/0.9982, allocations: 192.5 kB / 1.069 GB, free: 86.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.9983, allocations: 48.69 kB / 1.069 GB, free: 86.59 MB / 1.01 GB Notification: Performance of SimCode: time 7.31e-07/0.9983, allocations: 2.078 kB / 1.069 GB, free: 86.59 MB / 1.01 GB Notification: Performance of Templates: time 0.02064/1.019, allocations: 11.87 MB / 1.081 GB, free: 85.7 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.651262908009812]