Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_10_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.001729/0.00173, 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.002158/0.002158, allocations: 194.7 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.562/2.562, allocations: 437.1 MB / 0.7104 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.89 kB / 0.8693 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5221/0.5233, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1704/0.6937, allocations: 183.3 MB / 1.196 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.006838/0.7006, allocations: 4.863 MB / 1.201 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.7013, allocations: 31.81 kB / 1.201 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.7024, allocations: 441.3 kB / 1.202 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002877/0.7053, allocations: 1.402 MB / 1.203 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.707, allocations: 0.7673 MB / 1.204 GB, free: 3.066 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001993/0.709, allocations: 1.849 MB / 1.205 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007501/0.7098, allocations: 0.5862 MB / 1.206 GB, free: 0.6133 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.7113, allocations: 0.8755 MB / 1.207 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.7124, allocations: 0.5434 MB / 1.207 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.7125, allocations: 56 kB / 1.208 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002189/0.7147, allocations: 1.419 MB / 1.209 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.715, allocations: 263.2 kB / 1.209 GB, free: 13.46 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.7154, allocations: 402.1 kB / 1.21 GB, free: 13.06 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.7171, allocations: 1.406 MB / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.7171, allocations: 0 / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.112e-06/0.7171, allocations: 0 / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.7172, allocations: 0 / 1.211 GB, free: 11.65 MB / 0.9669 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.001496/0.7187, allocations: 1.096 MB / 1.212 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.7187, allocations: 12.03 kB / 1.212 GB, free: 10.49 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.556e-05/0.7188, allocations: 82.53 kB / 1.212 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.7201, allocations: 214.7 kB / 1.212 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007854/0.7209, allocations: 0.581 MB / 1.213 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.116e-05/0.7209, allocations: 45 kB / 1.213 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.069e-05/0.721, allocations: 51.94 kB / 1.213 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008166/0.7218, allocations: 494.3 kB / 1.213 GB, free: 8.988 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.7219, allocations: 3.938 kB / 1.213 GB, free: 8.984 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.004e-05/0.7219, allocations: 24 kB / 1.213 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.7219, allocations: 16.94 kB / 1.213 GB, free: 8.945 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007652/0.7227, allocations: 439.7 kB / 1.214 GB, free: 8.516 MB / 0.9669 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.002402/0.7251, allocations: 2.029 MB / 1.216 GB, free: 6.309 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.7257, allocations: 347.4 kB / 1.216 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.7261, allocations: 209.3 kB / 1.216 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002592/0.7263, allocations: 186.5 kB / 1.217 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.7264, allocations: 42.83 kB / 1.217 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.423e-06/0.7264, allocations: 0 / 1.217 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001189/0.7276, allocations: 0.5449 MB / 1.217 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.7276, allocations: 59.34 kB / 1.217 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.7282, allocations: 0.5069 MB / 1.218 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.7282, allocations: 29.7 kB / 1.218 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001851/0.7284, allocations: 304.2 kB / 1.218 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.234e-05/0.7285, allocations: 122.3 kB / 1.218 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.7286, allocations: 73.92 kB / 1.218 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7287, allocations: 362.8 kB / 1.219 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.729, allocations: 146.1 kB / 1.219 GB, free: 3.301 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.7293, allocations: 215.4 kB / 1.219 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.7299, allocations: 332.3 kB / 1.219 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7299, allocations: 0 / 1.219 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007084/0.7306, allocations: 436.5 kB / 1.22 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.7306, allocations: 8 kB / 1.22 GB, free: 2.289 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.7307, allocations: 3.938 kB / 1.22 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.7307, allocations: 4 kB / 1.22 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.731, allocations: 67.84 kB / 1.22 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.731, allocations: 4 kB / 1.22 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004652/0.7315, allocations: 47.75 kB / 1.22 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.7315, allocations: 12 kB / 1.22 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004401/0.732, allocations: 300 kB / 1.22 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000325/0.7323, allocations: 211.4 kB / 1.22 GB, free: 1.625 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005633/0.7329, allocations: 339.4 kB / 1.221 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.442e-06/0.7329, allocations: 0 / 1.221 GB, free: 1.281 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007095/0.7336, allocations: 424.5 kB / 1.221 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.7336, allocations: 7.938 kB / 1.221 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.7336, allocations: 0 / 1.221 GB, free: 0.8516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.7336, allocations: 4 kB / 1.221 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/0.734, allocations: 67.91 kB / 1.221 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.734, allocations: 11.92 kB / 1.221 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/0.7344, allocations: 35.67 kB / 1.221 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.7345, allocations: 12 kB / 1.221 GB, free: 0.7227 MB / 0.9669 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.0001201/0.7346, allocations: 204.2 kB / 1.221 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001028/0.7347, allocations: 59.34 kB / 1.221 GB, free: 468 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007484/0.7355, allocations: 415 kB / 1.222 GB, free: 44 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.7355, allocations: 7.938 kB / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.7355, allocations: 0 / 1.222 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006154/0.7361, allocations: 437.8 kB / 1.222 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.7378, allocations: 1.18 MB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.7378, allocations: 4.031 kB / 1.223 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.7382, allocations: 83.89 kB / 1.223 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.7382, allocations: 4 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.7383, allocations: 8 kB / 1.223 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.7383, allocations: 4 kB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.7383, allocations: 3.984 kB / 1.223 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.7393, allocations: 0.7106 MB / 1.224 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.7396, allocations: 176.4 kB / 1.224 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.087e-05/0.7397, allocations: 16 kB / 1.224 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004866/0.7401, allocations: 31.81 kB / 1.224 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.7402, allocations: 19.97 kB / 1.224 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.7403, allocations: 15.94 kB / 1.224 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.00039/0.7407, allocations: 366.8 kB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7407, allocations: 0 / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007578/0.7414, allocations: 319.3 kB / 1.225 GB, free: 12.53 MB / 0.9825 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.001514/0.7429, allocations: 1.339 MB / 1.226 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.744, allocations: 0.535 MB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.744, allocations: 4 kB / 1.227 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.7443, allocations: 184.4 kB / 1.227 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.746, allocations: 349.5 kB / 1.227 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/0.7517, allocations: 4.76 MB / 1.232 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.7522, allocations: 0.9334 MB / 1.233 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0005971/0.7528, allocations: 184.8 kB / 1.233 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.7531, allocations: 219.4 kB / 1.233 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.7531, allocations: 3.938 kB / 1.233 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03571/0.7888, allocations: 16.72 MB / 1.25 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.287/8.076, allocations: 7.922 kB / 1.25 GB, free: 3.367 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_10_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches