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.007045/0.007045, allocations: 101.7 kB / 15.73 MB, free: 6.457 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.002129/0.002129, allocations: 202.3 kB / 16.68 MB, free: 6.355 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.363 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.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.89 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2719, allocations: 159.1 MB / 1.22 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.6952/0.9671, allocations: 183.3 MB / 1.399 GB, free: 5.832 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007868/0.975, allocations: 4.863 MB / 1.404 GB, free: 1.891 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008003/0.9759, allocations: 30.97 kB / 1.404 GB, free: 1.879 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.9769, allocations: 436.5 kB / 1.404 GB, free: 1.523 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.003051/0.98, allocations: 1.415 MB / 1.406 GB, free: 444 kB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.9819, allocations: 0.7836 MB / 1.406 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.002044/0.984, allocations: 1.844 MB / 1.408 GB, free: 14.79 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007756/0.9848, allocations: 0.5977 MB / 1.409 GB, free: 14.41 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.9863, allocations: 0.8684 MB / 1.41 GB, free: 13.88 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0011/0.9874, allocations: 0.5447 MB / 1.41 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.9875, allocations: 58.31 kB / 1.41 GB, free: 13.57 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.9897, allocations: 1.408 MB / 1.412 GB, free: 12.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003053/0.99, allocations: 266.8 kB / 1.412 GB, free: 12.61 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004225/0.9904, allocations: 405.5 kB / 1.412 GB, free: 12.35 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001851/0.9923, allocations: 1.429 MB / 1.414 GB, free: 11.45 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.9923, allocations: 0 / 1.414 GB, free: 11.45 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.172e-06/0.9923, allocations: 0 / 1.414 GB, free: 11.45 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.9923, allocations: 0 / 1.414 GB, free: 11.45 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.001693/0.994, allocations: 1.126 MB / 1.415 GB, free: 10.54 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.9941, allocations: 15.28 kB / 1.415 GB, free: 10.54 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001075/0.9942, allocations: 89.27 kB / 1.415 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.9955, allocations: 216.6 kB / 1.415 GB, free: 10.35 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009553/0.9965, allocations: 0.6199 MB / 1.416 GB, free: 9.848 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.9965, allocations: 35.94 kB / 1.416 GB, free: 9.832 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-05/0.9966, allocations: 49.75 kB / 1.416 GB, free: 9.816 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.9975, allocations: 497.7 kB / 1.416 GB, free: 9.539 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.9975, allocations: 4 kB / 1.416 GB, free: 9.535 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.218e-05/0.9975, allocations: 20.97 kB / 1.416 GB, free: 9.52 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.9976, allocations: 20.95 kB / 1.416 GB, free: 9.512 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.9984, allocations: 439.8 kB / 1.417 GB, free: 9.305 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.002675/1.001, allocations: 2.005 MB / 1.419 GB, free: 7.574 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006247/1.002, allocations: 346.3 kB / 1.419 GB, free: 7.391 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/1.002, allocations: 216.3 kB / 1.419 GB, free: 7.281 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002969/1.002, allocations: 191.3 kB / 1.419 GB, free: 7.082 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/1.002, allocations: 37.81 kB / 1.419 GB, free: 7.039 MB / 1.107 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/1.002, allocations: 3.938 kB / 1.419 GB, free: 7.035 MB / 1.107 GB Notification: Performance of matching and sorting (n=33): time 0.001252/1.004, allocations: 0.5386 MB / 1.42 GB, free: 6.766 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/1.004, allocations: 64.38 kB / 1.42 GB, free: 6.695 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/1.004, allocations: 0.5094 MB / 1.421 GB, free: 6.387 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/1.004, allocations: 36.48 kB / 1.421 GB, free: 6.348 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002482/1.005, allocations: 307.8 kB / 1.421 GB, free: 6.078 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/1.005, allocations: 118.1 kB / 1.421 GB, free: 5.977 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/1.005, allocations: 69.48 kB / 1.421 GB, free: 5.93 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001809/1.005, allocations: 369.8 kB / 1.421 GB, free: 5.574 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/1.005, allocations: 142.7 kB / 1.422 GB, free: 5.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/1.006, allocations: 226.6 kB / 1.422 GB, free: 5.34 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000612/1.006, allocations: 336.4 kB / 1.422 GB, free: 5.152 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/1.006, allocations: 6.031 kB / 1.422 GB, free: 5.148 MB / 1.107 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000747/1.007, allocations: 430 kB / 1.422 GB, free: 4.926 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/1.007, allocations: 4.781 kB / 1.422 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/1.007, allocations: 2.219 kB / 1.422 GB, free: 4.926 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.007, allocations: 6.891 kB / 1.422 GB, free: 4.922 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003255/1.007, allocations: 66.84 kB / 1.423 GB, free: 4.91 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/1.008, allocations: 7.094 kB / 1.423 GB, free: 4.906 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004538/1.008, allocations: 44.8 kB / 1.423 GB, free: 4.875 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/1.008, allocations: 14.17 kB / 1.423 GB, free: 4.871 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004474/1.008, allocations: 301 kB / 1.423 GB, free: 4.676 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/1.009, allocations: 207.2 kB / 1.423 GB, free: 4.535 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005712/1.009, allocations: 336.5 kB / 1.423 GB, free: 4.344 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/1.009, allocations: 0 / 1.423 GB, free: 4.344 MB / 1.107 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007408/1.01, allocations: 430 kB / 1.424 GB, free: 4.121 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/1.01, allocations: 13.12 kB / 1.424 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-06/1.01, allocations: 3.625 kB / 1.424 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/1.01, allocations: 2.5 kB / 1.424 GB, free: 4.113 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003093/1.01, allocations: 70.94 kB / 1.424 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/1.011, allocations: 2.656 kB / 1.424 GB, free: 4.098 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/1.011, allocations: 37.14 kB / 1.424 GB, free: 4.074 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/1.011, allocations: 12 kB / 1.424 GB, free: 4.07 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.000145/1.011, allocations: 197.5 kB / 1.424 GB, free: 3.875 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/1.011, allocations: 62.78 kB / 1.424 GB, free: 3.844 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007927/1.012, allocations: 418.3 kB / 1.425 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/1.012, allocations: 2.656 kB / 1.425 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.012, allocations: 6.625 kB / 1.425 GB, free: 3.602 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000673/1.013, allocations: 436.4 kB / 1.425 GB, free: 3.234 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001915/1.015, allocations: 1.187 MB / 1.426 GB, free: 1.973 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.015, allocations: 4.188 kB / 1.426 GB, free: 1.969 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004374/1.015, allocations: 87.89 kB / 1.426 GB, free: 1.883 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-06/1.015, allocations: 7.984 kB / 1.426 GB, free: 1.875 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/1.015, allocations: 8 kB / 1.426 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.251e-06/1.015, allocations: 4 kB / 1.426 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.015, allocations: 0 / 1.426 GB, free: 1.863 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/1.016, allocations: 0.7038 MB / 1.427 GB, free: 1.125 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002404/1.017, allocations: 180.7 kB / 1.427 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/1.017, allocations: 8 kB / 1.427 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000468/1.017, allocations: 31.97 kB / 1.427 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/1.017, allocations: 27.91 kB / 1.427 GB, free: 0.8633 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.077e-05/1.017, allocations: 12 kB / 1.427 GB, free: 0.8516 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.000441/1.018, allocations: 366.8 kB / 1.428 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of sort global known variables: time 3.1e-07/1.018, allocations: 0 / 1.428 GB, free: 0.4961 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0007822/1.019, allocations: 327.3 kB / 1.428 GB, free: 180 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.001799/1.02, allocations: 1.35 MB / 1.429 GB, free: 14.79 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001052/1.021, allocations: 0.5152 MB / 1.43 GB, free: 14.28 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/1.021, allocations: 384 / 1.43 GB, free: 14.28 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.022, allocations: 179.8 kB / 1.43 GB, free: 14.1 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/1.023, allocations: 354.4 kB / 1.43 GB, free: 13.77 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006491/1.03, allocations: 4.663 MB / 1.435 GB, free: 8.957 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/1.031, allocations: 0.9295 MB / 1.436 GB, free: 8 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0005262/1.031, allocations: 180.8 kB / 1.436 GB, free: 7.824 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/1.031, allocations: 215.4 kB / 1.436 GB, free: 7.613 MB / 1.123 GB Notification: Performance of SimCode: time 2.155e-06/1.031, allocations: 0 / 1.436 GB, free: 7.613 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/1.075, allocations: 16.85 MB / 1.453 GB, free: 7.016 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.879/9.954, allocations: 9.797 kB / 1.453 GB, free: 7.008 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.csv --start-time 0 --stop-time 300 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 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.csv","/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