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.00749/0.007491, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.001872/0.001872, allocations: 193 kB / 16.67 MB, free: 5.934 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.4 MB, free: 15.15 MB / 206.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.162/2.162, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 55.91 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6442/0.6455, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1896/0.8351, allocations: 183.3 MB / 1.266 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.007025/0.8422, allocations: 4.865 MB / 1.271 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007105/0.8429, allocations: 31.81 kB / 1.271 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.844, allocations: 449.3 kB / 1.272 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003004/0.847, allocations: 1.466 MB / 1.273 GB, free: 15.7 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001772/0.8488, allocations: 0.7929 MB / 1.274 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.8509, allocations: 1.852 MB / 1.276 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007911/0.8517, allocations: 0.594 MB / 1.276 GB, free: 12.45 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001529/0.8533, allocations: 0.895 MB / 1.277 GB, free: 11.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.8543, allocations: 0.5439 MB / 1.278 GB, free: 11.01 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.8545, allocations: 56 kB / 1.278 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.8567, allocations: 1.426 MB / 1.279 GB, free: 9.523 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.857, allocations: 263.2 kB / 1.279 GB, free: 9.266 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0004439/0.8574, allocations: 406.1 kB / 1.28 GB, free: 8.867 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.8594, allocations: 1.421 MB / 1.281 GB, free: 7.441 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.8594, allocations: 0 / 1.281 GB, free: 7.441 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.8594, allocations: 0 / 1.281 GB, free: 7.441 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.8594, allocations: 0 / 1.281 GB, free: 7.441 MB / 1.014 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.001867/0.8613, allocations: 1.128 MB / 1.282 GB, free: 6.262 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.8614, allocations: 8.031 kB / 1.282 GB, free: 6.254 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.8615, allocations: 90.52 kB / 1.282 GB, free: 6.156 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.8629, allocations: 223.2 kB / 1.282 GB, free: 5.938 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.8639, allocations: 0.6167 MB / 1.283 GB, free: 5.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.253e-05/0.864, allocations: 37 kB / 1.283 GB, free: 5.242 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.926e-05/0.8641, allocations: 51.94 kB / 1.283 GB, free: 5.191 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008976/0.865, allocations: 498.3 kB / 1.284 GB, free: 4.699 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.693e-05/0.865, allocations: 0 / 1.284 GB, free: 4.699 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.973e-05/0.8651, allocations: 16 kB / 1.284 GB, free: 4.684 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.8651, allocations: 20.98 kB / 1.284 GB, free: 4.664 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008174/0.8659, allocations: 439.7 kB / 1.284 GB, free: 4.23 MB / 1.014 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.002646/0.8686, allocations: 2.014 MB / 1.286 GB, free: 2.043 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006254/0.8692, allocations: 347.5 kB / 1.286 GB, free: 1.695 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/0.8696, allocations: 205.3 kB / 1.287 GB, free: 1.492 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.8699, allocations: 198.5 kB / 1.287 GB, free: 1.262 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.8699, allocations: 34.78 kB / 1.287 GB, free: 1.219 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 3.126e-06/0.8699, allocations: 0 / 1.287 GB, free: 1.219 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001264/0.8712, allocations: 0.5491 MB / 1.287 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.84e-05/0.8712, allocations: 59.34 kB / 1.287 GB, free: 0.5938 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000541/0.8718, allocations: 0.5069 MB / 1.288 GB, free: 80 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.821e-05/0.8718, allocations: 33.7 kB / 1.288 GB, free: 40 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.872, allocations: 308.6 kB / 1.288 GB, free: 15.73 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.875e-05/0.8722, allocations: 122.9 kB / 1.288 GB, free: 15.61 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.8723, allocations: 70.03 kB / 1.288 GB, free: 15.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8724, allocations: 366.8 kB / 1.289 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.8727, allocations: 142.1 kB / 1.289 GB, free: 15.03 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003419/0.8731, allocations: 219.6 kB / 1.289 GB, free: 14.79 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005836/0.8737, allocations: 335.2 kB / 1.289 GB, free: 14.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8737, allocations: 0 / 1.289 GB, free: 14.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007503/0.8744, allocations: 437.9 kB / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.8745, allocations: 4 kB / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.8745, allocations: 0 / 1.29 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8745, allocations: 12.08 kB / 1.29 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.8748, allocations: 75.84 kB / 1.29 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.8748, allocations: 0 / 1.29 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.8753, allocations: 39.77 kB / 1.29 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/0.8754, allocations: 15.98 kB / 1.29 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004361/0.8758, allocations: 308 kB / 1.29 GB, free: 13.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003258/0.8762, allocations: 210.7 kB / 1.29 GB, free: 13.34 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005658/0.8767, allocations: 319.3 kB / 1.291 GB, free: 13.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.273e-06/0.8767, allocations: 7.938 kB / 1.291 GB, free: 13.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007254/0.8775, allocations: 433 kB / 1.291 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-06/0.8775, allocations: 4 kB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.8775, allocations: 4 kB / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.116e-06/0.8775, allocations: 0 / 1.291 GB, free: 12.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.8778, allocations: 71.91 kB / 1.291 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.8779, allocations: 7.938 kB / 1.291 GB, free: 12.49 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.8783, allocations: 35.95 kB / 1.291 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.588e-05/0.8784, allocations: 12 kB / 1.291 GB, free: 12.45 MB / 1.029 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.0001311/0.8785, allocations: 196.7 kB / 1.292 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.8786, allocations: 67.58 kB / 1.292 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.8794, allocations: 424.1 kB / 1.292 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.8794, allocations: 8.062 kB / 1.292 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8794, allocations: 15.88 kB / 1.292 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006502/0.8801, allocations: 428.5 kB / 1.292 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.8819, allocations: 1.178 MB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.8819, allocations: 0 / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.8823, allocations: 87.89 kB / 1.294 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.8823, allocations: 0 / 1.294 GB, free: 9.945 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.044e-05/0.8824, allocations: 12 kB / 1.294 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.8824, allocations: 0 / 1.294 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.8824, allocations: 8.188 kB / 1.294 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.8835, allocations: 0.6991 MB / 1.294 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.8838, allocations: 184.7 kB / 1.295 GB, free: 8.992 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.907e-05/0.8838, allocations: 8 kB / 1.295 GB, free: 8.984 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.8843, allocations: 23.97 kB / 1.295 GB, free: 8.961 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.8844, allocations: 27.91 kB / 1.295 GB, free: 8.934 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.8845, allocations: 19.94 kB / 1.295 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003989/0.8849, allocations: 362.8 kB / 1.295 GB, free: 8.562 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8849, allocations: 0 / 1.295 GB, free: 8.562 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007665/0.8856, allocations: 327.3 kB / 1.295 GB, free: 8.242 MB / 1.029 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.001584/0.8872, allocations: 1.335 MB / 1.297 GB, free: 6.871 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000987/0.8882, allocations: 0.5238 MB / 1.297 GB, free: 6.348 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8882, allocations: 4 kB / 1.297 GB, free: 6.344 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003241/0.8886, allocations: 179.7 kB / 1.297 GB, free: 6.168 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.8902, allocations: 354.8 kB / 1.298 GB, free: 5.824 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.8961, allocations: 4.662 MB / 1.302 GB, free: 1.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004795/0.8966, allocations: 0.9334 MB / 1.303 GB, free: 64 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005275/0.8971, allocations: 172.8 kB / 1.303 GB, free: 15.89 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003024/0.8975, allocations: 219.4 kB / 1.303 GB, free: 15.68 MB / 1.045 GB Notification: Performance of SimCode: time 2.455e-06/0.8975, allocations: 0 / 1.303 GB, free: 15.68 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03643/0.9339, allocations: 16.84 MB / 1.32 GB, free: 15.1 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/9.009, allocations: 7.203 kB / 1.32 GB, free: 15.1 MB / 1.061 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