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.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_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.007657/0.007657, allocations: 102.6 kB / 15.73 MB, free: 5.902 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.00165/0.00165, allocations: 186.4 kB / 16.67 MB, free: 5.824 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.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.609/2.609, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 68.12 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.314, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.8836/1.198, allocations: 183.3 MB / 1.386 GB, free: 5.094 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008504/1.206, allocations: 4.865 MB / 1.391 GB, free: 1.148 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001423/1.208, allocations: 30.78 kB / 1.391 GB, free: 1.137 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/1.209, allocations: 439.9 kB / 1.391 GB, free: 0.7773 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004076/1.213, allocations: 1.415 MB / 1.393 GB, free: 15.69 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002471/1.216, allocations: 0.7731 MB / 1.394 GB, free: 15.11 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003089/1.219, allocations: 1.86 MB / 1.395 GB, free: 14.04 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009948/1.22, allocations: 0.5865 MB / 1.396 GB, free: 13.67 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002209/1.222, allocations: 0.8859 MB / 1.397 GB, free: 13.13 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/1.223, allocations: 0.5401 MB / 1.397 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000129/1.224, allocations: 57.38 kB / 1.397 GB, free: 12.81 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003059/1.227, allocations: 1.416 MB / 1.399 GB, free: 12.02 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003817/1.227, allocations: 263.6 kB / 1.399 GB, free: 11.85 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008729/1.228, allocations: 401.2 kB / 1.399 GB, free: 11.6 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003409/1.231, allocations: 1.416 MB / 1.401 GB, free: 10.71 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/1.231, allocations: 0 / 1.401 GB, free: 10.71 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.707e-06/1.231, allocations: 1.562 kB / 1.401 GB, free: 10.71 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.9e-05/1.231, allocations: 7.938 kB / 1.401 GB, free: 10.7 MB / 1.092 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.002202/1.234, allocations: 1.097 MB / 1.402 GB, free: 9.82 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/1.234, allocations: 10.47 kB / 1.402 GB, free: 9.82 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/1.234, allocations: 90.98 kB / 1.402 GB, free: 9.738 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001424/1.235, allocations: 208.1 kB / 1.402 GB, free: 9.645 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/1.236, allocations: 0.6242 MB / 1.403 GB, free: 9.137 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/1.236, allocations: 35.31 kB / 1.403 GB, free: 9.125 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.768e-05/1.236, allocations: 46.88 kB / 1.403 GB, free: 9.109 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008502/1.237, allocations: 0.4924 MB / 1.403 GB, free: 8.824 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.237, allocations: 0 / 1.403 GB, free: 8.824 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.921e-05/1.237, allocations: 14.91 kB / 1.403 GB, free: 8.812 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.764e-05/1.237, allocations: 19.91 kB / 1.403 GB, free: 8.805 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007178/1.238, allocations: 449.3 kB / 1.404 GB, free: 8.594 MB / 1.092 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.002681/1.241, allocations: 1.997 MB / 1.406 GB, free: 6.871 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/1.241, allocations: 350 kB / 1.406 GB, free: 6.688 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/1.242, allocations: 208.4 kB / 1.406 GB, free: 6.586 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002905/1.242, allocations: 194.8 kB / 1.406 GB, free: 6.383 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/1.242, allocations: 37.09 kB / 1.406 GB, free: 6.34 MB / 1.092 GB Notification: Performance of pre-optimization done (n=33): time 2.565e-06/1.242, allocations: 0 / 1.406 GB, free: 6.34 MB / 1.092 GB Notification: Performance of matching and sorting (n=33): time 0.001272/1.243, allocations: 0.5443 MB / 1.407 GB, free: 6.066 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/1.243, allocations: 63.19 kB / 1.407 GB, free: 5.996 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/1.244, allocations: 0.5077 MB / 1.408 GB, free: 5.691 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/1.244, allocations: 34.36 kB / 1.408 GB, free: 5.656 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/1.244, allocations: 303.5 kB / 1.408 GB, free: 5.391 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.244, allocations: 115.2 kB / 1.408 GB, free: 5.289 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/1.245, allocations: 67.69 kB / 1.408 GB, free: 5.246 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.245, allocations: 368.6 kB / 1.408 GB, free: 4.891 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/1.245, allocations: 141.5 kB / 1.409 GB, free: 4.816 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/1.245, allocations: 220.2 kB / 1.409 GB, free: 4.664 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/1.246, allocations: 344.7 kB / 1.409 GB, free: 4.469 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/1.246, allocations: 0.625 kB / 1.409 GB, free: 4.469 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006799/1.247, allocations: 429.4 kB / 1.41 GB, free: 4.246 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/1.247, allocations: 11.97 kB / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/1.247, allocations: 0 / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/1.247, allocations: 2.188 kB / 1.41 GB, free: 4.242 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/1.247, allocations: 75.33 kB / 1.41 GB, free: 4.223 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.247, allocations: 11.06 kB / 1.41 GB, free: 4.215 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004942/1.247, allocations: 36.39 kB / 1.41 GB, free: 4.191 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.224e-05/1.247, allocations: 14.16 kB / 1.41 GB, free: 4.188 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004299/1.248, allocations: 305.7 kB / 1.41 GB, free: 3.988 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000279/1.248, allocations: 210.6 kB / 1.41 GB, free: 3.844 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004863/1.249, allocations: 331 kB / 1.41 GB, free: 3.66 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.834e-06/1.249, allocations: 0 / 1.41 GB, free: 3.66 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000641/1.249, allocations: 427.2 kB / 1.411 GB, free: 3.438 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/1.249, allocations: 4.719 kB / 1.411 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/1.249, allocations: 2.781 kB / 1.411 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.747e-06/1.249, allocations: 2.094 kB / 1.411 GB, free: 3.438 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/1.25, allocations: 72.59 kB / 1.411 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/1.25, allocations: 2.719 kB / 1.411 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/1.25, allocations: 38.06 kB / 1.411 GB, free: 3.395 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/1.25, allocations: 10.66 kB / 1.411 GB, free: 3.395 MB / 1.092 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.000153/1.25, allocations: 201.3 kB / 1.411 GB, free: 3.195 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.25, allocations: 62.53 kB / 1.411 GB, free: 3.164 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/1.251, allocations: 430.8 kB / 1.412 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.251, allocations: 2.656 kB / 1.412 GB, free: 2.91 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/1.251, allocations: 3.938 kB / 1.412 GB, free: 2.906 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005496/1.252, allocations: 433.1 kB / 1.412 GB, free: 2.609 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/1.254, allocations: 1.173 MB / 1.413 GB, free: 1.738 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.254, allocations: 2.688 kB / 1.413 GB, free: 1.738 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003928/1.254, allocations: 82.44 kB / 1.413 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/1.254, allocations: 5.438 kB / 1.413 GB, free: 1.719 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/1.254, allocations: 10.72 kB / 1.413 GB, free: 1.711 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/1.254, allocations: 10 kB / 1.413 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.254, allocations: 2.938 kB / 1.413 GB, free: 1.703 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/1.255, allocations: 0.7097 MB / 1.414 GB, free: 1.238 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/1.255, allocations: 174.2 kB / 1.414 GB, free: 1.078 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/1.255, allocations: 15.14 kB / 1.414 GB, free: 1.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004455/1.256, allocations: 22.88 kB / 1.414 GB, free: 1.059 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.92e-05/1.256, allocations: 24.42 kB / 1.414 GB, free: 1.047 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.011e-05/1.256, allocations: 18.48 kB / 1.414 GB, free: 1.039 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003921/1.256, allocations: 366 kB / 1.415 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of sort global known variables: time 1e-07/1.256, allocations: 0 / 1.415 GB, free: 0.8242 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000957/1.257, allocations: 317 kB / 1.415 GB, free: 0.7695 MB / 1.092 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.001678/1.259, allocations: 1.345 MB / 1.416 GB, free: 15.73 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0009818/1.26, allocations: 0.5123 MB / 1.417 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.26, allocations: 0 / 1.417 GB, free: 15.5 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/1.26, allocations: 182.1 kB / 1.417 GB, free: 15.42 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/1.262, allocations: 354.2 kB / 1.417 GB, free: 15.23 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/1.268, allocations: 4.641 MB / 1.422 GB, free: 10.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/1.269, allocations: 0.9373 MB / 1.423 GB, free: 9.719 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0006606/1.27, allocations: 176.8 kB / 1.423 GB, free: 9.543 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/1.27, allocations: 215.4 kB / 1.423 GB, free: 9.332 MB / 1.107 GB Notification: Performance of SimCode: time 6.92e-07/1.27, allocations: 0 / 1.423 GB, free: 9.332 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04581/1.316, allocations: 17.14 MB / 1.44 GB, free: 8.438 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.653, allocations: 3.938 kB / 1.44 GB, free: 8.434 MB / 1.123 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches