Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Delays_Examples_Delay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Delays.Examples.Delay,fileNamePrefix="Buildings_latest_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.0007343/0.0007343, allocations: 89.89 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.004471/0.004471, allocations: 170.3 kB / 16.26 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.584/2.584, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 18.34 kB / 0.9029 GB, free: 36.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2514, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1751/0.4265, allocations: 178.6 MB / 1.233 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.4338, allocations: 4.882 MB / 1.238 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008078/0.4347, allocations: 27.81 kB / 1.238 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001047/0.4357, allocations: 370 kB / 1.238 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003108/0.4389, allocations: 1.325 MB / 1.24 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.4407, allocations: 0.7006 MB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002744/0.4434, allocations: 2.536 MB / 1.243 GB, free: 7.758 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008138/0.4442, allocations: 0.4899 MB / 1.243 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/0.4458, allocations: 0.7623 MB / 1.244 GB, free: 6.496 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001253/0.4471, allocations: 0.5385 MB / 1.245 GB, free: 5.957 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.4472, allocations: 28 kB / 1.245 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002451/0.4497, allocations: 1.602 MB / 1.246 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003221/0.45, allocations: 235.2 kB / 1.246 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005312/0.4505, allocations: 383.8 kB / 1.247 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.4526, allocations: 1.449 MB / 1.248 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4526, allocations: 3.984 kB / 1.248 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4526, allocations: 0 / 1.248 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.4526, allocations: 0 / 1.248 GB, free: 2.254 MB / 0.9981 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.001646/0.4543, allocations: 0.9617 MB / 1.249 GB, free: 1.238 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4543, allocations: 8.031 kB / 1.249 GB, free: 1.23 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001456/0.4545, allocations: 86.52 kB / 1.249 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.4558, allocations: 210.8 kB / 1.249 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009018/0.4567, allocations: 0.581 MB / 1.25 GB, free: 316 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.732e-05/0.4568, allocations: 37 kB / 1.25 GB, free: 280 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.405e-05/0.4568, allocations: 48 kB / 1.25 GB, free: 232 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4859/0.9428, allocations: 0.4914 MB / 1.251 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.974e-05/0.9429, allocations: 2.625 kB / 1.251 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-05/0.9429, allocations: 18.47 kB / 1.251 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.104e-05/0.943, allocations: 18.75 kB / 1.251 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.944, allocations: 448.1 kB / 1.251 GB, free: 10.53 MB / 0.9981 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.002833/0.9468, allocations: 2.019 MB / 1.253 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006289/0.9475, allocations: 355 kB / 1.253 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.9478, allocations: 216.6 kB / 1.254 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.9481, allocations: 194.2 kB / 1.254 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.9481, allocations: 40.28 kB / 1.254 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.024e-06/0.9481, allocations: 3.5 kB / 1.254 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.0012/0.9493, allocations: 0.5487 MB / 1.254 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.9493, allocations: 59.19 kB / 1.254 GB, free: 9.215 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.9499, allocations: 0.5087 MB / 1.255 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.9499, allocations: 32.05 kB / 1.255 GB, free: 9.066 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.9501, allocations: 307.3 kB / 1.255 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.205e-05/0.9501, allocations: 117.3 kB / 1.255 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.9502, allocations: 35.06 kB / 1.255 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.9503, allocations: 363.7 kB / 1.256 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.9505, allocations: 142.6 kB / 1.256 GB, free: 8.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.9508, allocations: 222.3 kB / 1.256 GB, free: 8.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004999/0.9513, allocations: 342.9 kB / 1.256 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9513, allocations: 2.594 kB / 1.256 GB, free: 8.422 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006105/0.9519, allocations: 449.5 kB / 1.257 GB, free: 8.348 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.744e-05/0.952, allocations: 115.3 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.952, allocations: 2.719 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.952, allocations: 2.938 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003015/0.9523, allocations: 77.98 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.9523, allocations: 2.719 kB / 1.257 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005287/0.9529, allocations: 67.59 kB / 1.257 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.9529, allocations: 12.41 kB / 1.257 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.869e-06/0.9529, allocations: 3.094 kB / 1.257 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005344/0.9535, allocations: 356.8 kB / 1.257 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.9535, allocations: 3.234 kB / 1.257 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-06/0.9535, allocations: 2.812 kB / 1.257 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.9538, allocations: 73.61 kB / 1.257 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.406e-06/0.9538, allocations: 10.25 kB / 1.257 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.9543, allocations: 68.14 kB / 1.258 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.9543, allocations: 13.81 kB / 1.258 GB, free: 8.176 MB / 0.9981 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.0001943/0.9545, allocations: 288.5 kB / 1.258 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.772e-05/0.9546, allocations: 66.12 kB / 1.258 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006624/0.9552, allocations: 433.3 kB / 1.258 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9553, allocations: 6.469 kB / 1.258 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9553, allocations: 2.672 kB / 1.258 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005005/0.9558, allocations: 447 kB / 1.259 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.9572, allocations: 1.186 MB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9572, allocations: 0 / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.9576, allocations: 90.8 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.9576, allocations: 2.938 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.9577, allocations: 10.53 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.9577, allocations: 3.578 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.9577, allocations: 0.7031 kB / 1.26 GB, free: 7.363 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009102/0.9586, allocations: 0.718 MB / 1.261 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.9588, allocations: 182.2 kB / 1.261 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.585e-05/0.9589, allocations: 10.91 kB / 1.261 GB, free: 7.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.9594, allocations: 50.11 kB / 1.261 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.9594, allocations: 32.88 kB / 1.261 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.9595, allocations: 18.05 kB / 1.261 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003297/0.9598, allocations: 361.4 kB / 1.261 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9598, allocations: 0 / 1.261 GB, free: 6.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006781/0.9605, allocations: 331.4 kB / 1.262 GB, free: 6.871 MB / 0.9981 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.001282/0.9618, allocations: 1.349 MB / 1.263 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008638/0.9627, allocations: 0.5364 MB / 1.263 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9627, allocations: 0 / 1.263 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.963, allocations: 187.6 kB / 1.264 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.9649, allocations: 376.3 kB / 1.264 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005965/0.9709, allocations: 5.044 MB / 1.269 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.9713, allocations: 0.9365 MB / 1.27 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006235/0.9719, allocations: 187.8 kB / 1.27 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.9722, allocations: 217.9 kB / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of SimCode: time 3.6e-07/0.9722, allocations: 0 / 1.27 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/1.001, allocations: 16.09 MB / 1.286 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001329/1.001, allocations: 235.2 kB / 1.286 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.934/2.935, allocations: 2.734 kB / 1.286 GB, free: 1.855 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Delays_Examples_Delay.fmu > Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches