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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_9_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001642/0.001642, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.253/1.253, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.147/2.147, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.89 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4757/0.4768, allocations: 140.4 MB / 0.949 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1596/0.6364, allocations: 181 MB / 1.126 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006555/0.643, allocations: 4.933 MB / 1.131 GB, free: 7.492 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007786/0.6438, allocations: 27.81 kB / 1.131 GB, free: 7.465 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.6449, allocations: 374 kB / 1.131 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.002794/0.6478, allocations: 1.327 MB / 1.132 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.6494, allocations: 0.7039 MB / 1.133 GB, free: 5.066 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002382/0.6518, allocations: 2.533 MB / 1.135 GB, free: 2.523 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007039/0.6525, allocations: 0.4992 MB / 1.136 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001431/0.6539, allocations: 0.7741 MB / 1.137 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.655, allocations: 0.5538 MB / 1.137 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.6552, allocations: 35.94 kB / 1.137 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002214/0.6574, allocations: 1.621 MB / 1.139 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.6577, allocations: 231.3 kB / 1.139 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004566/0.6581, allocations: 378 kB / 1.139 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.6599, allocations: 1.464 MB / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.6599, allocations: 0 / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.61e-07/0.6599, allocations: 0 / 1.141 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.753e-05/0.6599, allocations: 0 / 1.141 GB, free: 12.95 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.001595/0.6615, allocations: 1.102 MB / 1.142 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.6616, allocations: 8.031 kB / 1.142 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.632e-05/0.6617, allocations: 86.47 kB / 1.142 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.6629, allocations: 214.8 kB / 1.142 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007723/0.6637, allocations: 0.5887 MB / 1.143 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.377e-05/0.6637, allocations: 33 kB / 1.143 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.6638, allocations: 48 kB / 1.143 GB, free: 10.77 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007737/0.6646, allocations: 0.4905 MB / 1.143 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6646, allocations: 4 kB / 1.143 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.385e-05/0.6647, allocations: 20 kB / 1.143 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.6647, allocations: 13 kB / 1.143 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007125/0.6654, allocations: 443.7 kB / 1.144 GB, free: 9.805 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.002227/0.6676, allocations: 1.998 MB / 1.146 GB, free: 7.633 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/0.6682, allocations: 355.4 kB / 1.146 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003092/0.6685, allocations: 205.2 kB / 1.146 GB, free: 7.074 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002506/0.6688, allocations: 198.5 kB / 1.147 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.6688, allocations: 34.84 kB / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.6688, allocations: 0 / 1.147 GB, free: 6.801 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001102/0.6699, allocations: 0.5418 MB / 1.147 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.67, allocations: 59.34 kB / 1.147 GB, free: 6.184 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.6705, allocations: 0.5069 MB / 1.148 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.6705, allocations: 33.7 kB / 1.148 GB, free: 5.629 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.6707, allocations: 312.2 kB / 1.148 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.338e-05/0.6708, allocations: 110.3 kB / 1.148 GB, free: 5.211 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.905e-05/0.6709, allocations: 65.94 kB / 1.148 GB, free: 5.141 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.671, allocations: 370.8 kB / 1.148 GB, free: 4.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.6713, allocations: 142.1 kB / 1.149 GB, free: 4.629 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.6716, allocations: 223.2 kB / 1.149 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005178/0.6721, allocations: 335.2 kB / 1.149 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6721, allocations: 0 / 1.149 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000658/0.6728, allocations: 429.7 kB / 1.15 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.6728, allocations: 5.094 kB / 1.15 GB, free: 3.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.6728, allocations: 8.078 kB / 1.15 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.6728, allocations: 4 kB / 1.15 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003053/0.6731, allocations: 75.84 kB / 1.15 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.6732, allocations: 0 / 1.15 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.6736, allocations: 63.64 kB / 1.15 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.6737, allocations: 16 kB / 1.15 GB, free: 3.453 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003963/0.6741, allocations: 304 kB / 1.15 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002808/0.6744, allocations: 214.8 kB / 1.15 GB, free: 2.918 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004896/0.6749, allocations: 327.2 kB / 1.151 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.6749, allocations: 0 / 1.151 GB, free: 2.586 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006347/0.6755, allocations: 436.6 kB / 1.151 GB, free: 2.152 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-06/0.6755, allocations: 4 kB / 1.151 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-06/0.6755, allocations: 3.938 kB / 1.151 GB, free: 2.145 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.6756, allocations: 7.984 kB / 1.151 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.6758, allocations: 67.91 kB / 1.151 GB, free: 2.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.6759, allocations: 3.938 kB / 1.151 GB, free: 2.066 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.6763, allocations: 67.73 kB / 1.151 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.6764, allocations: 8 kB / 1.151 GB, free: 1.992 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.0001103/0.6765, allocations: 204.2 kB / 1.151 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.878e-05/0.6766, allocations: 55.34 kB / 1.151 GB, free: 1.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006898/0.6773, allocations: 431.1 kB / 1.152 GB, free: 1.301 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.6773, allocations: 7.938 kB / 1.152 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6773, allocations: 4.125 kB / 1.152 GB, free: 1.289 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005486/0.6778, allocations: 432.3 kB / 1.152 GB, free: 0.8359 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.6794, allocations: 1.168 MB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.6794, allocations: 8.031 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003813/0.6798, allocations: 79.89 kB / 1.153 GB, free: 15.51 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6798, allocations: 4 kB / 1.153 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.6798, allocations: 12 kB / 1.153 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6798, allocations: 7.984 kB / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.6799, allocations: 0 / 1.153 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.6808, allocations: 0.7002 MB / 1.154 GB, free: 14.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.681, allocations: 180.3 kB / 1.154 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.6811, allocations: 12 kB / 1.154 GB, free: 14.54 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.6815, allocations: 42.02 kB / 1.154 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.6816, allocations: 27.97 kB / 1.154 GB, free: 14.48 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.6816, allocations: 23.92 kB / 1.154 GB, free: 14.45 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003588/0.682, allocations: 358.8 kB / 1.155 GB, free: 14.11 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.682, allocations: 0 / 1.155 GB, free: 14.11 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007026/0.6827, allocations: 331.2 kB / 1.155 GB, free: 13.78 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.001405/0.6841, allocations: 1.332 MB / 1.156 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0008566/0.685, allocations: 0.5158 MB / 1.157 GB, free: 11.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.685, allocations: 4 kB / 1.157 GB, free: 11.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.6853, allocations: 180.6 kB / 1.157 GB, free: 11.72 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.6869, allocations: 367.7 kB / 1.157 GB, free: 11.36 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.6925, allocations: 4.951 MB / 1.162 GB, free: 6.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004082/0.6929, allocations: 0.9373 MB / 1.163 GB, free: 5.301 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000555/0.6935, allocations: 184.8 kB / 1.163 GB, free: 5.121 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.6937, allocations: 215.4 kB / 1.164 GB, free: 4.914 MB / 0.92 GB Notification: Performance of SimCode: time 3e-07/0.6938, allocations: 0 / 1.164 GB, free: 4.914 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6716/1.365, allocations: 16.26 MB / 1.179 GB, free: 4.914 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.366, allocations: 223.3 kB / 1.18 GB, free: 4.664 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.048/3.413, allocations: 7.812 kB / 1.18 GB, free: 4.66 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Delays_Examples_Delay.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches