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: "" <> 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.001388/0.001388, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.196/1.196, allocations: 222.9 MB / 240.2 MB, free: 4.41 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 1.996/1.996, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.00118, allocations: 63.89 kB / 0.8126 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4868, allocations: 140.4 MB / 0.9497 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1685/0.6553, allocations: 183.3 MB / 1.129 GB, free: 10 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007167/0.6625, allocations: 4.872 MB / 1.133 GB, free: 5.117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007478/0.6633, allocations: 31.81 kB / 1.133 GB, free: 5.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.6643, allocations: 429.4 kB / 1.134 GB, free: 4.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003047/0.6674, allocations: 1.416 MB / 1.135 GB, free: 3.242 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.6692, allocations: 0.7687 MB / 1.136 GB, free: 2.48 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001939/0.6712, allocations: 1.836 MB / 1.138 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006904/0.6719, allocations: 0.594 MB / 1.138 GB, free: 32 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001334/0.6732, allocations: 0.8794 MB / 1.139 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.6741, allocations: 0.5403 MB / 1.14 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.6742, allocations: 60 kB / 1.14 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/0.6764, allocations: 1.411 MB / 1.141 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.6767, allocations: 263.2 kB / 1.141 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003731/0.6771, allocations: 402 kB / 1.142 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.6786, allocations: 1.406 MB / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.6787, allocations: 0 / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6787, allocations: 0 / 1.143 GB, free: 11.07 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.6787, allocations: 0 / 1.143 GB, free: 11.07 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.001515/0.6802, allocations: 1.098 MB / 1.144 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.6802, allocations: 8.031 kB / 1.144 GB, free: 9.918 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.075e-05/0.6803, allocations: 86.52 kB / 1.144 GB, free: 9.824 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/0.6816, allocations: 214.8 kB / 1.145 GB, free: 9.613 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008129/0.6824, allocations: 0.5809 MB / 1.145 GB, free: 8.988 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.6824, allocations: 37 kB / 1.145 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.6825, allocations: 44 kB / 1.145 GB, free: 8.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.6833, allocations: 0.4905 MB / 1.146 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.6834, allocations: 0 / 1.146 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.702e-05/0.6834, allocations: 24 kB / 1.146 GB, free: 8.391 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.6834, allocations: 17 kB / 1.146 GB, free: 8.375 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007758/0.6842, allocations: 439.7 kB / 1.146 GB, free: 7.941 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.002452/0.6867, allocations: 2.029 MB / 1.148 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005873/0.6873, allocations: 349.5 kB / 1.148 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.6876, allocations: 209.2 kB / 1.149 GB, free: 5.184 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002755/0.6879, allocations: 190.5 kB / 1.149 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.688, allocations: 46.78 kB / 1.149 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.688, allocations: 0 / 1.149 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001165/0.6891, allocations: 0.5333 MB / 1.149 GB, free: 4.367 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.6892, allocations: 59.34 kB / 1.149 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.6897, allocations: 0.5108 MB / 1.15 GB, free: 3.777 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.096e-05/0.6898, allocations: 33.7 kB / 1.15 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.69, allocations: 300.2 kB / 1.15 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/0.6901, allocations: 130.2 kB / 1.15 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.6902, allocations: 65.94 kB / 1.15 GB, free: 3.242 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.6903, allocations: 370.8 kB / 1.151 GB, free: 2.871 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.6906, allocations: 138.1 kB / 1.151 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003189/0.6909, allocations: 227.2 kB / 1.151 GB, free: 2.488 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.6915, allocations: 335.7 kB / 1.152 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6915, allocations: 0 / 1.152 GB, free: 2.148 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007092/0.6922, allocations: 425.1 kB / 1.152 GB, free: 1.727 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.6922, allocations: 8 kB / 1.152 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.6922, allocations: 0 / 1.152 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.6923, allocations: 4 kB / 1.152 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003364/0.6926, allocations: 83.98 kB / 1.152 GB, free: 1.633 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.6926, allocations: 4 kB / 1.152 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.6931, allocations: 31.73 kB / 1.152 GB, free: 1.598 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.6931, allocations: 19.94 kB / 1.152 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004082/0.6935, allocations: 304 kB / 1.152 GB, free: 1.277 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003086/0.6938, allocations: 214.7 kB / 1.153 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005357/0.6944, allocations: 327.2 kB / 1.153 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.163e-06/0.6944, allocations: 0 / 1.153 GB, free: 0.7109 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006699/0.6951, allocations: 432.6 kB / 1.153 GB, free: 288 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.464e-06/0.6951, allocations: 4 kB / 1.153 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-06/0.6951, allocations: 0 / 1.153 GB, free: 284 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.2e-06/0.6951, allocations: 7.984 kB / 1.153 GB, free: 276 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000309/0.6954, allocations: 67.91 kB / 1.153 GB, free: 208 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.6954, allocations: 3.938 kB / 1.153 GB, free: 204 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004502/0.6959, allocations: 39.83 kB / 1.153 GB, free: 164 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.6959, allocations: 15.98 kB / 1.153 GB, free: 148 kB / 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.000134/0.6961, allocations: 200.1 kB / 1.154 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.367e-05/0.6962, allocations: 55.34 kB / 1.154 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.6969, allocations: 428 kB / 1.154 GB, free: 15.46 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.6969, allocations: 7.938 kB / 1.154 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6969, allocations: 4 kB / 1.154 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005996/0.6975, allocations: 432.3 kB / 1.154 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/0.6992, allocations: 1.179 MB / 1.156 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.6992, allocations: 0 / 1.156 GB, free: 13.74 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004069/0.6996, allocations: 79.89 kB / 1.156 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.6996, allocations: 7.984 kB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.775e-05/0.6996, allocations: 12 kB / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6996, allocations: 4 kB / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.6996, allocations: 192 / 1.156 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.7007, allocations: 0.7065 MB / 1.156 GB, free: 12.89 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.7009, allocations: 172.4 kB / 1.157 GB, free: 12.71 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.271e-05/0.701, allocations: 11.98 kB / 1.157 GB, free: 12.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004597/0.7014, allocations: 19.98 kB / 1.157 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.7015, allocations: 23.91 kB / 1.157 GB, free: 12.65 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.7015, allocations: 23.92 kB / 1.157 GB, free: 12.63 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003794/0.7019, allocations: 370.8 kB / 1.157 GB, free: 12.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7019, allocations: 0 / 1.157 GB, free: 12.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007319/0.7027, allocations: 319.1 kB / 1.157 GB, free: 11.96 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.001544/0.7042, allocations: 1.334 MB / 1.159 GB, free: 10.58 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001008/0.7052, allocations: 0.5509 MB / 1.159 GB, free: 10.03 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7052, allocations: 0 / 1.159 GB, free: 10.03 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.7055, allocations: 179.8 kB / 1.159 GB, free: 9.855 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.7071, allocations: 359 kB / 1.16 GB, free: 9.516 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/0.7129, allocations: 4.764 MB / 1.164 GB, free: 4.613 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.7134, allocations: 0.9256 MB / 1.165 GB, free: 3.656 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005794/0.714, allocations: 184.8 kB / 1.165 GB, free: 3.477 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003064/0.7143, allocations: 219.4 kB / 1.166 GB, free: 3.266 MB / 0.92 GB Notification: Performance of SimCode: time 2.9e-07/0.7143, allocations: 0 / 1.166 GB, free: 3.266 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6543/1.369, allocations: 16.72 MB / 1.182 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/13.16, allocations: 3.359 kB / 1.182 GB, free: 2.797 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