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.001935/0.001935, allocations: 85.48 kB / 19.44 MB, free: 340 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.002088/0.002088, allocations: 177.2 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.645/1.645, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.407/3.407, allocations: 429.4 MB / 0.6729 GB, free: 4.004 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.164e-06/2.164e-06, allocations: 0 / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.524e-05/3.74e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2895/0.2896, allocations: 180.2 MB / 1.053 GB, free: 1.852 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.6912/0.9808, allocations: 5.817 MB / 1.059 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.9821, allocations: 51.81 kB / 1.059 GB, free: 47.58 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.00133/0.9834, allocations: 438 kB / 1.06 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004666/0.9881, allocations: 1.519 MB / 1.061 GB, free: 47.51 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00339/0.9915, allocations: 1.126 MB / 1.062 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.9941, allocations: 1.966 MB / 1.064 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000634/0.9947, allocations: 0.4943 MB / 1.065 GB, free: 47.45 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002712/0.9974, allocations: 1.39 MB / 1.066 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00134/0.9988, allocations: 0.5251 MB / 1.066 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.9989, allocations: 59.75 kB / 1.066 GB, free: 47.43 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/1.002, allocations: 1.17 MB / 1.068 GB, free: 47.37 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/1.002, allocations: 307.3 kB / 1.068 GB, free: 47.33 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000479/1.003, allocations: 296.7 kB / 1.068 GB, free: 47.29 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002543/1.005, allocations: 1.49 MB / 1.07 GB, free: 47.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.005, allocations: 1.094 kB / 1.07 GB, free: 47.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.234e-06/1.005, allocations: 0 / 1.07 GB, free: 47.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.372e-05/1.005, allocations: 0 / 1.07 GB, free: 47.15 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.001852/1.007, allocations: 1.265 MB / 1.071 GB, free: 46.42 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/1.007, allocations: 9.312 kB / 1.071 GB, free: 46.42 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/1.008, allocations: 285.9 kB / 1.071 GB, free: 46.35 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/1.009, allocations: 0.6151 MB / 1.072 GB, free: 46.11 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/1.01, allocations: 38.81 kB / 1.072 GB, free: 46.11 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.754e-05/1.01, allocations: 60.22 kB / 1.072 GB, free: 46.11 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007439/1.01, allocations: 0.5375 MB / 1.072 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.01, allocations: 0.9062 kB / 1.072 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/1.01, allocations: 18.28 kB / 1.072 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/1.01, allocations: 19.12 kB / 1.072 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005828/1.011, allocations: 295.6 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.002487/1.014, allocations: 1.499 MB / 1.074 GB, free: 45.52 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000535/1.014, allocations: 267.7 kB / 1.074 GB, free: 45.48 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002502/1.014, allocations: 140.8 kB / 1.075 GB, free: 45.46 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000239/1.015, allocations: 44.28 kB / 1.075 GB, free: 45.46 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/1.015, allocations: 39.73 kB / 1.075 GB, free: 45.42 MB / 1.01 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/1.015, allocations: 1 kB / 1.075 GB, free: 45.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=33): time 0.001011/1.016, allocations: 429.7 kB / 1.075 GB, free: 45.35 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/1.016, allocations: 63.31 kB / 1.075 GB, free: 45.28 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/1.016, allocations: 0.677 MB / 1.076 GB, free: 45.09 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.565e-05/1.016, allocations: 38.02 kB / 1.076 GB, free: 45.05 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/1.017, allocations: 410.2 kB / 1.076 GB, free: 44.85 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.000104/1.017, allocations: 133.9 kB / 1.076 GB, free: 44.77 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/1.017, allocations: 118.1 kB / 1.076 GB, free: 44.75 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001757/1.017, allocations: 0.5758 MB / 1.077 GB, free: 44.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/1.017, allocations: 113 kB / 1.077 GB, free: 44.24 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.018, allocations: 0.5153 MB / 1.078 GB, free: 43.75 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000556/1.018, allocations: 465.2 kB / 1.078 GB, free: 43.49 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/1.018, allocations: 2.938 kB / 1.078 GB, free: 43.49 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007495/1.019, allocations: 478.9 kB / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.019, allocations: 6.375 kB / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/1.019, allocations: 5.094 kB / 1.078 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.627e-05/1.019, allocations: 7.562 kB / 1.079 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003982/1.019, allocations: 108 kB / 1.079 GB, free: 43.42 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/1.019, allocations: 12.47 kB / 1.079 GB, free: 43.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/1.02, allocations: 45.44 kB / 1.079 GB, free: 43.39 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/1.02, allocations: 24.41 kB / 1.079 GB, free: 43.39 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003557/1.02, allocations: 283.2 kB / 1.079 GB, free: 43.27 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003784/1.021, allocations: 0.5052 MB / 1.079 GB, free: 42.77 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000524/1.021, allocations: 472.8 kB / 1.08 GB, free: 42.5 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/1.021, allocations: 0 / 1.08 GB, free: 42.5 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0007334/1.022, allocations: 466.8 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.102e-05/1.022, allocations: 8.969 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.022, allocations: 5.688 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/1.022, allocations: 12.56 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/1.022, allocations: 107.5 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/1.022, allocations: 8.5 kB / 1.08 GB, free: 42.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004477/1.023, allocations: 44.75 kB / 1.081 GB, free: 42.41 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.73e-05/1.023, allocations: 22.78 kB / 1.081 GB, free: 42.41 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.0001625/1.023, allocations: 300.7 kB / 1.081 GB, free: 42.14 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001229/1.023, allocations: 74.48 kB / 1.081 GB, free: 42.11 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006829/1.024, allocations: 325.8 kB / 1.081 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/1.024, allocations: 2.562 kB / 1.081 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.024, allocations: 7.562 kB / 1.081 GB, free: 42.06 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004653/1.024, allocations: 350.3 kB / 1.082 GB, free: 41.89 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/1.026, allocations: 1.078 MB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.026, allocations: 3.938 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003736/1.026, allocations: 77.67 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/1.026, allocations: 3.531 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/1.026, allocations: 15.22 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.026, allocations: 2.625 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.026, allocations: 3.562 kB / 1.083 GB, free: 41.52 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008312/1.027, allocations: 0.6245 MB / 1.083 GB, free: 41.22 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/1.027, allocations: 113.2 kB / 1.083 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/1.027, allocations: 6.25 kB / 1.083 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003855/1.028, allocations: 22.8 kB / 1.083 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.502e-05/1.028, allocations: 30.72 kB / 1.083 GB, free: 41.18 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/1.028, allocations: 15.62 kB / 1.084 GB, free: 41.18 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004351/1.028, allocations: 427.9 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/1.028, allocations: 0.7812 kB / 1.084 GB, free: 41.04 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001124/1.03, allocations: 359.9 kB / 1.084 GB, free: 40.99 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.0003675/1.03, allocations: 173.8 kB / 1.084 GB, free: 40.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009517/1.031, allocations: 0.5236 MB / 1.085 GB, free: 40.87 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.031, allocations: 0.9688 kB / 1.085 GB, free: 40.87 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002426/1.031, allocations: 153.4 kB / 1.085 GB, free: 40.85 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.033, allocations: 341.5 kB / 1.085 GB, free: 40.83 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/1.034, allocations: 1.193 MB / 1.087 GB, free: 40.22 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/1.035, allocations: 347.9 kB / 1.087 GB, free: 40.13 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.000548/1.035, allocations: 167.3 kB / 1.087 GB, free: 40.11 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/1.035, allocations: 51.31 kB / 1.087 GB, free: 40.1 MB / 1.01 GB Notification: Performance of SimCode: time 1.262e-06/1.035, allocations: 0.9062 kB / 1.087 GB, free: 40.1 MB / 1.01 GB Notification: Performance of Templates: time 0.02674/1.062, allocations: 11.84 MB / 1.099 GB, free: 39 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","/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.430304534966126]