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.0009229/0.0009231, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005935/0.005935, allocations: 176.2 kB / 16.27 MB, free: 6.613 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.261/1.261, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.185/2.185, allocations: 390.9 MB / 0.6664 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003113, allocations: 8 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5803/0.5806, allocations: 142.4 MB / 0.9551 GB, free: 7.758 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1687/0.7493, allocations: 178.6 MB / 1.13 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007628/0.757, allocations: 4.884 MB / 1.134 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000978/0.758, allocations: 27.81 kB / 1.134 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.7592, allocations: 370 kB / 1.135 GB, free: 6.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003441/0.7627, allocations: 1.326 MB / 1.136 GB, free: 5.434 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.7646, allocations: 0.7144 MB / 1.137 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.7675, allocations: 2.529 MB / 1.139 GB, free: 2.188 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008665/0.7684, allocations: 497.8 kB / 1.14 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.7701, allocations: 0.7585 MB / 1.14 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001289/0.7714, allocations: 0.548 MB / 1.141 GB, free: 388 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001357/0.7716, allocations: 24 kB / 1.141 GB, free: 364 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.7743, allocations: 1.605 MB / 1.143 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003682/0.7747, allocations: 235.2 kB / 1.143 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0005889/0.7753, allocations: 383.8 kB / 1.143 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.7777, allocations: 1.441 MB / 1.145 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.7777, allocations: 0 / 1.145 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7777, allocations: 0 / 1.145 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.646e-05/0.7777, allocations: 0 / 1.145 GB, free: 12.69 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.001749/0.7795, allocations: 0.9695 MB / 1.145 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.7795, allocations: 8.031 kB / 1.146 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/0.7797, allocations: 86.52 kB / 1.146 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.781, allocations: 210.8 kB / 1.146 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009382/0.782, allocations: 0.581 MB / 1.146 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.782, allocations: 40.94 kB / 1.146 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.769e-05/0.7821, allocations: 51.91 kB / 1.146 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008856/0.783, allocations: 0.4945 MB / 1.147 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.7831, allocations: 7.938 kB / 1.147 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.7831, allocations: 16 kB / 1.147 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.7831, allocations: 20.94 kB / 1.147 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008005/0.7839, allocations: 443.7 kB / 1.147 GB, free: 9.664 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.002712/0.7867, allocations: 2.017 MB / 1.149 GB, free: 7.473 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006072/0.7873, allocations: 347.5 kB / 1.15 GB, free: 7.125 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.7877, allocations: 222.6 kB / 1.15 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000291/0.788, allocations: 198.4 kB / 1.15 GB, free: 6.676 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.56e-05/0.788, allocations: 34.84 kB / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.788, allocations: 0 / 1.15 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33): time 0.001261/0.7893, allocations: 0.5574 MB / 1.151 GB, free: 6.07 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.7893, allocations: 55.41 kB / 1.151 GB, free: 6.004 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006174/0.79, allocations: 0.5108 MB / 1.151 GB, free: 5.484 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.79, allocations: 33.7 kB / 1.151 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.7902, allocations: 300.2 kB / 1.152 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.7903, allocations: 118.3 kB / 1.152 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.375e-05/0.7904, allocations: 37.7 kB / 1.152 GB, free: 4.988 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7905, allocations: 370.7 kB / 1.152 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002657/0.7908, allocations: 136.6 kB / 1.152 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003477/0.7912, allocations: 224 kB / 1.152 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.7918, allocations: 351.1 kB / 1.153 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.7918, allocations: 0 / 1.153 GB, free: 3.887 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007569/0.7925, allocations: 441.7 kB / 1.153 GB, free: 3.449 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.7926, allocations: 125.5 kB / 1.153 GB, free: 3.312 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.7926, allocations: 3.938 kB / 1.153 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7927, allocations: 4 kB / 1.153 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003223/0.793, allocations: 67.91 kB / 1.153 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.793, allocations: 4 kB / 1.153 GB, free: 3.234 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005474/0.7936, allocations: 67.64 kB / 1.153 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/0.7936, allocations: 8 kB / 1.153 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.7936, allocations: 4 kB / 1.153 GB, free: 3.156 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000637/0.7943, allocations: 363.6 kB / 1.154 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.7943, allocations: 4 kB / 1.154 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.226e-06/0.7943, allocations: 0 / 1.154 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.7946, allocations: 67.91 kB / 1.154 GB, free: 2.73 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7946, allocations: 8.094 kB / 1.154 GB, free: 2.723 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/0.7951, allocations: 75.58 kB / 1.154 GB, free: 2.648 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.7952, allocations: 8 kB / 1.154 GB, free: 2.641 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.0002926/0.7955, allocations: 289 kB / 1.154 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.7956, allocations: 59.25 kB / 1.154 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008055/0.7964, allocations: 443.1 kB / 1.155 GB, free: 1.844 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.7964, allocations: 4 kB / 1.155 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7964, allocations: 3.938 kB / 1.155 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006299/0.797, allocations: 444.2 kB / 1.155 GB, free: 1.371 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001777/0.7988, allocations: 1.184 MB / 1.156 GB, free: 116 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7988, allocations: 0 / 1.156 GB, free: 116 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.7993, allocations: 87.89 kB / 1.156 GB, free: 28 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.7993, allocations: 4 kB / 1.156 GB, free: 24 kB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.753e-05/0.7993, allocations: 8 kB / 1.156 GB, free: 16 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.7993, allocations: 7.984 kB / 1.156 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7993, allocations: 0 / 1.156 GB, free: 8 kB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.8004, allocations: 0.7122 MB / 1.157 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/0.8007, allocations: 184.3 kB / 1.157 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.299e-05/0.8007, allocations: 8 kB / 1.157 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.8013, allocations: 59.95 kB / 1.157 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.8014, allocations: 35.89 kB / 1.157 GB, free: 14.96 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.117e-05/0.8014, allocations: 15.98 kB / 1.157 GB, free: 14.95 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004002/0.8018, allocations: 362.8 kB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8018, allocations: 3.938 kB / 1.158 GB, free: 14.59 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0008233/0.8026, allocations: 331.1 kB / 1.158 GB, free: 14.27 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.001618/0.8043, allocations: 1.333 MB / 1.159 GB, free: 12.89 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001009/0.8053, allocations: 0.5308 MB / 1.16 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8053, allocations: 0 / 1.16 GB, free: 12.36 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0003021/0.8056, allocations: 184.6 kB / 1.16 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/0.8076, allocations: 373 kB / 1.16 GB, free: 11.82 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006616/0.8142, allocations: 5.072 MB / 1.165 GB, free: 6.613 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005428/0.8148, allocations: 0.9256 MB / 1.166 GB, free: 5.656 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0006365/0.8154, allocations: 180.8 kB / 1.166 GB, free: 5.48 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.8157, allocations: 219.4 kB / 1.167 GB, free: 5.27 MB / 0.92 GB Notification: Performance of SimCode: time 3.4e-07/0.8157, allocations: 0 / 1.167 GB, free: 5.27 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.061/1.876, allocations: 16.1 MB / 1.182 GB, free: 5.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.877, allocations: 224.3 kB / 1.183 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/3.918, allocations: 4 kB / 1.183 GB, free: 5.195 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