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.001128/0.001128, 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.001162/0.001162, allocations: 194.8 kB / 16.53 MB, free: 6.699 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.27/2.27, allocations: 390.2 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 63.89 kB / 0.8126 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5208, allocations: 140.4 MB / 0.9497 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1731/0.694, allocations: 183.3 MB / 1.129 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007535/0.7016, allocations: 4.874 MB / 1.133 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.7025, allocations: 31.81 kB / 1.133 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.7038, allocations: 433.4 kB / 1.134 GB, free: 4.57 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003023/0.7068, allocations: 1.415 MB / 1.135 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.7085, allocations: 0.7689 MB / 1.136 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001841/0.7104, allocations: 1.836 MB / 1.138 GB, free: 0.543 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007224/0.7111, allocations: 0.5979 MB / 1.138 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00134/0.7125, allocations: 0.8715 MB / 1.139 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009175/0.7134, allocations: 0.5353 MB / 1.14 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.7135, allocations: 64 kB / 1.14 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.7156, allocations: 1.411 MB / 1.141 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.7159, allocations: 263.2 kB / 1.141 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.7162, allocations: 402.1 kB / 1.142 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001591/0.7178, allocations: 1.402 MB / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.7179, allocations: 0 / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7179, allocations: 0 / 1.143 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.7179, allocations: 0 / 1.143 GB, free: 10.99 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.001522/0.7194, allocations: 1.094 MB / 1.144 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.7194, allocations: 8.031 kB / 1.144 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.54e-05/0.7195, allocations: 86.52 kB / 1.144 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.7208, allocations: 218.8 kB / 1.145 GB, free: 9.527 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008003/0.7216, allocations: 0.5809 MB / 1.145 GB, free: 8.902 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.7217, allocations: 33 kB / 1.145 GB, free: 8.871 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.7218, allocations: 48 kB / 1.145 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008549/0.7226, allocations: 0.4905 MB / 1.146 GB, free: 8.328 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.7227, allocations: 4 kB / 1.146 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.7227, allocations: 20 kB / 1.146 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.7227, allocations: 17 kB / 1.146 GB, free: 8.289 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007939/0.7235, allocations: 439.6 kB / 1.146 GB, free: 7.855 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.002454/0.726, allocations: 2.025 MB / 1.148 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006057/0.7266, allocations: 351.1 kB / 1.148 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.727, allocations: 213.2 kB / 1.149 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002712/0.7273, allocations: 198.5 kB / 1.149 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.7273, allocations: 38.78 kB / 1.149 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.573e-06/0.7273, allocations: 0 / 1.149 GB, free: 4.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001187/0.7285, allocations: 0.5333 MB / 1.149 GB, free: 4.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.614e-05/0.7285, allocations: 63.34 kB / 1.149 GB, free: 4.207 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005211/0.7291, allocations: 0.5069 MB / 1.15 GB, free: 3.691 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.7291, allocations: 33.7 kB / 1.15 GB, free: 3.652 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.7293, allocations: 308.1 kB / 1.15 GB, free: 3.348 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.7294, allocations: 118.3 kB / 1.15 GB, free: 3.23 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7295, allocations: 69.94 kB / 1.15 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.7297, allocations: 370.8 kB / 1.151 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.73, allocations: 142.1 kB / 1.151 GB, free: 2.645 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003247/0.7303, allocations: 219.2 kB / 1.151 GB, free: 2.406 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.7309, allocations: 339.7 kB / 1.151 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.7309, allocations: 4.062 kB / 1.151 GB, free: 2.059 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007111/0.7316, allocations: 425.1 kB / 1.152 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7316, allocations: 8 kB / 1.152 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.7316, allocations: 0 / 1.152 GB, free: 1.629 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.7317, allocations: 8.094 kB / 1.152 GB, free: 1.621 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.732, allocations: 75.83 kB / 1.152 GB, free: 1.547 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.732, allocations: 4 kB / 1.152 GB, free: 1.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004529/0.7325, allocations: 35.67 kB / 1.152 GB, free: 1.508 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.503e-05/0.7325, allocations: 19.98 kB / 1.152 GB, free: 1.488 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004244/0.7329, allocations: 304 kB / 1.152 GB, free: 1.188 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003049/0.7333, allocations: 210.7 kB / 1.153 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005329/0.7338, allocations: 323.3 kB / 1.153 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.755e-06/0.7338, allocations: 0 / 1.153 GB, free: 0.6289 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006947/0.7345, allocations: 436.6 kB / 1.153 GB, free: 200 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.7345, allocations: 4 kB / 1.153 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-06/0.7345, allocations: 0 / 1.153 GB, free: 196 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.7346, allocations: 4 kB / 1.153 GB, free: 192 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003151/0.7349, allocations: 71.91 kB / 1.153 GB, free: 120 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7349, allocations: 8.031 kB / 1.153 GB, free: 112 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004495/0.7353, allocations: 39.72 kB / 1.153 GB, free: 72 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.7354, allocations: 12 kB / 1.153 GB, free: 60 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.0001271/0.7355, allocations: 200.1 kB / 1.154 GB, free: 15.86 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-05/0.7356, allocations: 55.34 kB / 1.154 GB, free: 15.8 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007522/0.7364, allocations: 432 kB / 1.154 GB, free: 15.37 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.7364, allocations: 11.94 kB / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7364, allocations: 0 / 1.154 GB, free: 15.36 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006022/0.737, allocations: 428.3 kB / 1.154 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.7386, allocations: 1.175 MB / 1.156 GB, free: 13.66 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.7387, allocations: 3.984 kB / 1.156 GB, free: 13.65 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004226/0.7391, allocations: 87.88 kB / 1.156 GB, free: 13.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.7391, allocations: 4 kB / 1.156 GB, free: 13.56 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.7391, allocations: 8 kB / 1.156 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.7391, allocations: 4.188 kB / 1.156 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.7391, allocations: 4 kB / 1.156 GB, free: 13.55 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.7401, allocations: 0.7026 MB / 1.156 GB, free: 12.81 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.7404, allocations: 184.3 kB / 1.157 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.7404, allocations: 8 kB / 1.157 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.7409, allocations: 23.97 kB / 1.157 GB, free: 12.58 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.741, allocations: 31.97 kB / 1.157 GB, free: 12.55 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.974e-05/0.741, allocations: 19.94 kB / 1.157 GB, free: 12.53 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0003695/0.7414, allocations: 362.8 kB / 1.157 GB, free: 12.18 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7414, allocations: 0 / 1.157 GB, free: 12.18 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0007492/0.7422, allocations: 319.2 kB / 1.157 GB, free: 11.86 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.001473/0.7437, allocations: 1.324 MB / 1.159 GB, free: 10.5 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0009901/0.7447, allocations: 0.5548 MB / 1.159 GB, free: 9.945 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.7447, allocations: 4 kB / 1.159 GB, free: 9.941 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.745, allocations: 175.8 kB / 1.159 GB, free: 9.77 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.7466, allocations: 358 kB / 1.16 GB, free: 9.43 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/0.7523, allocations: 4.764 MB / 1.164 GB, free: 4.527 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.7527, allocations: 0.9256 MB / 1.165 GB, free: 3.57 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.000603/0.7533, allocations: 184.8 kB / 1.165 GB, free: 3.391 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.7536, allocations: 219.4 kB / 1.166 GB, free: 3.18 MB / 0.92 GB Notification: Performance of SimCode: time 3.21e-07/0.7536, allocations: 0 / 1.166 GB, free: 3.18 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.7888, allocations: 16.71 MB / 1.182 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/8.306, allocations: 3.984 kB / 1.182 GB, free: 2.711 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 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.csv","/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