Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_11_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.004781/0.00478, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001391/0.001391, allocations: 202.4 kB / 16.68 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.577/2.577, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 72.09 kB / 1.065 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 159.1 MB / 1.22 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6839/0.948, allocations: 183.3 MB / 1.399 GB, free: 5.895 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007072/0.9551, allocations: 4.867 MB / 1.404 GB, free: 1.945 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004601/0.9555, allocations: 34 kB / 1.404 GB, free: 1.93 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.9566, allocations: 432.9 kB / 1.404 GB, free: 1.578 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002902/0.9595, allocations: 1.403 MB / 1.406 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.9613, allocations: 0.7829 MB / 1.406 GB, free: 15.91 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.9632, allocations: 1.848 MB / 1.408 GB, free: 14.85 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007598/0.964, allocations: 0.5966 MB / 1.409 GB, free: 14.47 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.9655, allocations: 0.8701 MB / 1.41 GB, free: 13.94 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009908/0.9665, allocations: 0.5396 MB / 1.41 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.206e-05/0.9666, allocations: 57.75 kB / 1.41 GB, free: 13.62 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002254/0.9689, allocations: 1.413 MB / 1.412 GB, free: 12.84 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.9691, allocations: 269.7 kB / 1.412 GB, free: 12.66 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.9695, allocations: 398.5 kB / 1.412 GB, free: 12.41 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.9713, allocations: 1.426 MB / 1.414 GB, free: 11.51 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9713, allocations: 0 / 1.414 GB, free: 11.51 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9713, allocations: 2.312 kB / 1.414 GB, free: 11.51 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.9714, allocations: 0 / 1.414 GB, free: 11.51 MB / 1.107 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.001582/0.973, allocations: 1.132 MB / 1.415 GB, free: 10.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.973, allocations: 7.219 kB / 1.415 GB, free: 10.59 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000101/0.9731, allocations: 89.05 kB / 1.415 GB, free: 10.52 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001159/0.9743, allocations: 211.8 kB / 1.415 GB, free: 10.42 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000858/0.9751, allocations: 0.6292 MB / 1.416 GB, free: 9.906 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.9752, allocations: 34.91 kB / 1.416 GB, free: 9.891 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.9752, allocations: 43.59 kB / 1.416 GB, free: 9.879 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008022/0.976, allocations: 0.496 MB / 1.416 GB, free: 9.594 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.9761, allocations: 0 / 1.416 GB, free: 9.594 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.82e-05/0.9761, allocations: 21.16 kB / 1.416 GB, free: 9.578 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.9762, allocations: 20.62 kB / 1.416 GB, free: 9.57 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007088/0.9769, allocations: 439.9 kB / 1.417 GB, free: 9.363 MB / 1.107 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.002401/0.9793, allocations: 2.01 MB / 1.419 GB, free: 7.629 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.9799, allocations: 347.4 kB / 1.419 GB, free: 7.445 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.9802, allocations: 211.2 kB / 1.419 GB, free: 7.34 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002645/0.9805, allocations: 192.1 kB / 1.419 GB, free: 7.141 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.9805, allocations: 38.22 kB / 1.419 GB, free: 7.098 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.363e-06/0.9805, allocations: 0 / 1.419 GB, free: 7.098 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.001104/0.9816, allocations: 0.5426 MB / 1.42 GB, free: 6.824 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.9817, allocations: 64.56 kB / 1.42 GB, free: 6.754 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005032/0.9822, allocations: 0.5031 MB / 1.42 GB, free: 6.449 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.158e-05/0.9822, allocations: 36.27 kB / 1.421 GB, free: 6.41 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.9825, allocations: 311.7 kB / 1.421 GB, free: 6.137 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/0.9826, allocations: 125.8 kB / 1.421 GB, free: 6.027 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.9827, allocations: 68.83 kB / 1.421 GB, free: 5.984 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.9829, allocations: 363 kB / 1.421 GB, free: 5.633 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.9831, allocations: 145.7 kB / 1.422 GB, free: 5.555 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/0.9835, allocations: 221.5 kB / 1.422 GB, free: 5.402 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.984, allocations: 338.4 kB / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.984, allocations: 0 / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006701/0.9847, allocations: 437 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.9847, allocations: 5.469 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9847, allocations: 2.438 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.9847, allocations: 2.469 kB / 1.422 GB, free: 4.984 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002924/0.985, allocations: 71.33 kB / 1.423 GB, free: 4.969 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.9851, allocations: 9.609 kB / 1.423 GB, free: 4.965 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.9855, allocations: 44.05 kB / 1.423 GB, free: 4.934 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.9855, allocations: 7.906 kB / 1.423 GB, free: 4.934 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004043/0.9859, allocations: 309.5 kB / 1.423 GB, free: 4.734 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002983/0.9862, allocations: 206.6 kB / 1.423 GB, free: 4.594 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005122/0.9867, allocations: 337.6 kB / 1.423 GB, free: 4.402 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.9867, allocations: 0 / 1.423 GB, free: 4.402 MB / 1.107 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006436/0.9874, allocations: 429.8 kB / 1.424 GB, free: 4.18 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/0.9874, allocations: 4.906 kB / 1.424 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-06/0.9874, allocations: 0 / 1.424 GB, free: 4.18 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.9874, allocations: 6.516 kB / 1.424 GB, free: 4.176 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.9877, allocations: 71.5 kB / 1.424 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.9877, allocations: 2.438 kB / 1.424 GB, free: 4.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.9881, allocations: 32 kB / 1.424 GB, free: 4.141 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.606e-05/0.9881, allocations: 18.73 kB / 1.424 GB, free: 4.133 MB / 1.107 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.0001357/0.9883, allocations: 196.7 kB / 1.424 GB, free: 3.938 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.9884, allocations: 62.28 kB / 1.424 GB, free: 3.906 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.9891, allocations: 418.2 kB / 1.425 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.9891, allocations: 2.688 kB / 1.425 GB, free: 3.668 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.9891, allocations: 7.188 kB / 1.425 GB, free: 3.664 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005792/0.9897, allocations: 438.7 kB / 1.425 GB, free: 3.328 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/0.9914, allocations: 1.191 MB / 1.426 GB, free: 2.062 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.9914, allocations: 5.625 kB / 1.426 GB, free: 2.059 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.9918, allocations: 83.89 kB / 1.426 GB, free: 1.977 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.9918, allocations: 4 kB / 1.426 GB, free: 1.973 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.9919, allocations: 11.98 kB / 1.426 GB, free: 1.961 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.9919, allocations: 4 kB / 1.426 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.9919, allocations: 0 / 1.426 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.9929, allocations: 0.7116 MB / 1.427 GB, free: 1.211 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.9931, allocations: 176.7 kB / 1.427 GB, free: 1.02 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.805e-05/0.9932, allocations: 12 kB / 1.427 GB, free: 1.008 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004145/0.9936, allocations: 27.97 kB / 1.427 GB, free: 0.9805 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.9937, allocations: 15.97 kB / 1.427 GB, free: 0.9648 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.9937, allocations: 20.8 kB / 1.427 GB, free: 0.9453 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000384/0.9941, allocations: 370.8 kB / 1.428 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9941, allocations: 0 / 1.428 GB, free: 0.5859 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007064/0.9948, allocations: 327.3 kB / 1.428 GB, free: 272 kB / 1.107 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.001648/0.9965, allocations: 1.353 MB / 1.429 GB, free: 14.88 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009382/0.9974, allocations: 0.5078 MB / 1.43 GB, free: 14.38 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.9974, allocations: 4 kB / 1.43 GB, free: 14.37 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0003067/0.9977, allocations: 179.8 kB / 1.43 GB, free: 14.2 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/0.9992, allocations: 350.3 kB / 1.43 GB, free: 13.86 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005806/1.005, allocations: 4.661 MB / 1.435 GB, free: 9.051 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005138/1.006, allocations: 0.9295 MB / 1.436 GB, free: 8.094 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0004687/1.006, allocations: 184.8 kB / 1.436 GB, free: 7.914 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002996/1.006, allocations: 219.4 kB / 1.436 GB, free: 7.699 MB / 1.123 GB Notification: Performance of SimCode: time 3.81e-07/1.006, allocations: 0 / 1.436 GB, free: 7.699 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05337/1.06, allocations: 16.83 MB / 1.452 GB, free: 7.121 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/10.23, allocations: 20.62 kB / 1.453 GB, free: 7.105 MB / 1.139 GB (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches