Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Delays.Examples.Delay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.001154, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 191 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.457/2.457, allocations: 390.2 MB / 0.6643 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7448, allocations: 140.3 MB / 0.9491 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2075/0.9524, allocations: 180.9 MB / 1.126 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.008881/0.9613, allocations: 4.851 MB / 1.13 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.963, allocations: 27.81 kB / 1.13 GB, free: 7.668 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001633/0.9647, allocations: 386 kB / 1.131 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004579/0.9693, allocations: 1.327 MB / 1.132 GB, free: 5.957 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.9717, allocations: 0.7086 MB / 1.133 GB, free: 5.254 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003026/0.9748, allocations: 1.848 MB / 1.135 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.9759, allocations: 0.5745 MB / 1.135 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.978, allocations: 0.8599 MB / 1.136 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0015/0.9795, allocations: 0.5818 MB / 1.137 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.9798, allocations: 56 kB / 1.137 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.9826, allocations: 1.477 MB / 1.138 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003953/0.9831, allocations: 267.2 kB / 1.138 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006883/0.9838, allocations: 398.1 kB / 1.139 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002736/0.9865, allocations: 1.499 MB / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9865, allocations: 0 / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9865, allocations: 0 / 1.14 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.824e-05/0.9866, allocations: 0 / 1.14 GB, free: 13.68 MB / 0.9044 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.002417/0.989, allocations: 1.094 MB / 1.141 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.989, allocations: 8.031 kB / 1.141 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.9905, allocations: 214.8 kB / 1.141 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001125/0.9917, allocations: 0.5848 MB / 1.142 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.767e-05/0.9917, allocations: 37 kB / 1.142 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.98e-05/0.9918, allocations: 48 kB / 1.142 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009913/0.9928, allocations: 498.3 kB / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.9929, allocations: 0 / 1.143 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/0.9929, allocations: 16 kB / 1.143 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/0.993, allocations: 17 kB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008909/0.9939, allocations: 443.7 kB / 1.143 GB, free: 10.64 MB / 0.9044 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.002963/0.9968, allocations: 1.998 MB / 1.145 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.9975, allocations: 359.9 kB / 1.145 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.9979, allocations: 213.2 kB / 1.146 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.9983, allocations: 194.5 kB / 1.146 GB, free: 7.672 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.9983, allocations: 34.84 kB / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 2.374e-06/0.9983, allocations: 0 / 1.146 GB, free: 7.629 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.00144/0.9998, allocations: 0.5411 MB / 1.146 GB, free: 7.082 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.25e-05/0.9998, allocations: 59.34 kB / 1.146 GB, free: 7.012 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006772/1.001, allocations: 0.5108 MB / 1.147 GB, free: 6.492 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.943e-05/1.001, allocations: 29.7 kB / 1.147 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/1.001, allocations: 304.2 kB / 1.147 GB, free: 6.156 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/1.001, allocations: 118.3 kB / 1.147 GB, free: 6.039 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/1.001, allocations: 69.94 kB / 1.147 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001915/1.001, allocations: 370.8 kB / 1.148 GB, free: 5.594 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/1.002, allocations: 138.1 kB / 1.148 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/1.002, allocations: 219.3 kB / 1.148 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005851/1.003, allocations: 343.7 kB / 1.148 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.003, allocations: 0 / 1.148 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007662/1.003, allocations: 425.2 kB / 1.149 GB, free: 4.449 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.003, allocations: 9.719 kB / 1.149 GB, free: 4.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.003, allocations: 4 kB / 1.149 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/1.003, allocations: 0 / 1.149 GB, free: 4.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/1.004, allocations: 75.89 kB / 1.149 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/1.004, allocations: 11.88 kB / 1.149 GB, free: 4.352 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/1.004, allocations: 67.58 kB / 1.149 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/1.004, allocations: 12 kB / 1.149 GB, free: 4.273 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004451/1.005, allocations: 308 kB / 1.149 GB, free: 3.969 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003262/1.005, allocations: 210.8 kB / 1.149 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005489/1.006, allocations: 319.2 kB / 1.15 GB, free: 3.414 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.787e-06/1.006, allocations: 7.984 kB / 1.15 GB, free: 3.406 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0008178/1.007, allocations: 424.7 kB / 1.15 GB, free: 2.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/1.007, allocations: 8 kB / 1.15 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/1.007, allocations: 0 / 1.15 GB, free: 2.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/1.007, allocations: 3.938 kB / 1.15 GB, free: 2.973 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003171/1.007, allocations: 76.02 kB / 1.15 GB, free: 2.898 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/1.007, allocations: 4 kB / 1.15 GB, free: 2.895 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/1.008, allocations: 67.67 kB / 1.15 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/1.008, allocations: 20 kB / 1.15 GB, free: 2.809 MB / 0.9044 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.0001488/1.008, allocations: 200.1 kB / 1.151 GB, free: 2.605 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/1.008, allocations: 59.34 kB / 1.151 GB, free: 2.547 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000778/1.009, allocations: 420.1 kB / 1.151 GB, free: 2.125 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/1.009, allocations: 4 kB / 1.151 GB, free: 2.121 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.009, allocations: 3.938 kB / 1.151 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006126/1.009, allocations: 436.3 kB / 1.151 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.011, allocations: 1.172 MB / 1.153 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/1.011, allocations: 0 / 1.153 GB, free: 424 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004483/1.012, allocations: 87.89 kB / 1.153 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.012, allocations: 0 / 1.153 GB, free: 336 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/1.012, allocations: 8 kB / 1.153 GB, free: 328 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.416e-06/1.012, allocations: 7.938 kB / 1.153 GB, free: 320 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/1.012, allocations: 4 kB / 1.153 GB, free: 316 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/1.013, allocations: 0.7037 MB / 1.153 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002789/1.013, allocations: 184.3 kB / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.993e-05/1.013, allocations: 8 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005708/1.014, allocations: 44.47 kB / 1.154 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/1.014, allocations: 23.97 kB / 1.154 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/1.014, allocations: 12 kB / 1.154 GB, free: 15.29 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004692/1.015, allocations: 366.8 kB / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.01e-07/1.015, allocations: 0 / 1.154 GB, free: 14.93 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009072/1.015, allocations: 323.2 kB / 1.154 GB, free: 14.61 MB / 0.92 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.0004739/1.016, allocations: 191.4 kB / 1.154 GB, free: 14.42 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001176/1.017, allocations: 0.5548 MB / 1.155 GB, free: 13.87 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/1.017, allocations: 0 / 1.155 GB, free: 13.87 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003783/1.018, allocations: 184.7 kB / 1.155 GB, free: 13.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.019, allocations: 365.2 kB / 1.155 GB, free: 13.34 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002388/1.022, allocations: 1.483 MB / 1.157 GB, free: 11.81 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005444/1.022, allocations: 0.9295 MB / 1.158 GB, free: 10.85 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006598/1.023, allocations: 176.8 kB / 1.158 GB, free: 10.68 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001409/1.023, allocations: 55.44 kB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of SimCode: time 4.51e-07/1.023, allocations: 0 / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of Templates: time 0.02156/1.045, allocations: 11.58 MB / 1.169 GB, free: 15.22 MB / 0.9356 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches