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.001623/0.001623, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001166/0.001166, allocations: 192.2 kB / 16.25 MB, free: 6.633 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.279/1.279, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.431/2.431, allocations: 437 MB / 0.7101 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.8688 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4923/0.4936, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.1682/0.6618, allocations: 180.9 MB / 1.194 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007184/0.669, allocations: 4.838 MB / 1.198 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008565/0.6699, allocations: 27.81 kB / 1.198 GB, free: 8.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.6711, allocations: 382 kB / 1.199 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.003142/0.6743, allocations: 1.324 MB / 1.2 GB, free: 6.617 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.6761, allocations: 0.7169 MB / 1.201 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002111/0.6782, allocations: 1.848 MB / 1.202 GB, free: 4.055 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008238/0.679, allocations: 0.5822 MB / 1.203 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.6807, allocations: 0.8522 MB / 1.204 GB, free: 2.602 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.6819, allocations: 0.5872 MB / 1.204 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.682, allocations: 60 kB / 1.204 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002134/0.6842, allocations: 1.461 MB / 1.206 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003089/0.6845, allocations: 267.2 kB / 1.206 GB, free: 236 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005189/0.685, allocations: 402.1 kB / 1.207 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.6868, allocations: 1.492 MB / 1.208 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6868, allocations: 0 / 1.208 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6868, allocations: 0 / 1.208 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.6869, allocations: 0 / 1.208 GB, free: 14.34 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.0015/0.6884, allocations: 1.094 MB / 1.209 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.6884, allocations: 8.031 kB / 1.209 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.649e-05/0.6885, allocations: 98.5 kB / 1.209 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.6898, allocations: 210.8 kB / 1.209 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007706/0.6906, allocations: 0.5771 MB / 1.21 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.6906, allocations: 36.98 kB / 1.21 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.168e-05/0.6907, allocations: 48 kB / 1.21 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.6915, allocations: 0.4945 MB / 1.211 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.6915, allocations: 7.938 kB / 1.211 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.6916, allocations: 16 kB / 1.211 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.6916, allocations: 24.94 kB / 1.211 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007396/0.6924, allocations: 439.7 kB / 1.211 GB, free: 11.19 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.002351/0.6947, allocations: 1.998 MB / 1.213 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005896/0.6953, allocations: 351.1 kB / 1.213 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.6957, allocations: 211.3 kB / 1.213 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002695/0.696, allocations: 190.5 kB / 1.214 GB, free: 8.238 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.696, allocations: 42.83 kB / 1.214 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 1.533e-06/0.696, allocations: 0 / 1.214 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=33): time 0.001168/0.6972, allocations: 0.541 MB / 1.214 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.6972, allocations: 59.34 kB / 1.214 GB, free: 7.57 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.6977, allocations: 0.503 MB / 1.215 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.6978, allocations: 33.7 kB / 1.215 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.698, allocations: 308.2 kB / 1.215 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.929e-05/0.6981, allocations: 114.3 kB / 1.215 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.6982, allocations: 77.92 kB / 1.215 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.6983, allocations: 362.8 kB / 1.216 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.6986, allocations: 142.1 kB / 1.216 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003088/0.6989, allocations: 223.4 kB / 1.216 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.6995, allocations: 336.3 kB / 1.216 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.6995, allocations: 0 / 1.216 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000696/0.7002, allocations: 436.5 kB / 1.217 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7002, allocations: 4 kB / 1.217 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7002, allocations: 3.938 kB / 1.217 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.7003, allocations: 7.984 kB / 1.217 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003277/0.7006, allocations: 75.84 kB / 1.217 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.7006, allocations: 0 / 1.217 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005/0.7011, allocations: 63.73 kB / 1.217 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.641e-05/0.7011, allocations: 16 kB / 1.217 GB, free: 4.828 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004098/0.7016, allocations: 312 kB / 1.217 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002947/0.7019, allocations: 207.4 kB / 1.217 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005228/0.7024, allocations: 331.4 kB / 1.218 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.7024, allocations: 0 / 1.218 GB, free: 3.957 MB / 0.9669 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006667/0.7031, allocations: 436.4 kB / 1.218 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.7031, allocations: 4 kB / 1.218 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-06/0.7031, allocations: 96 / 1.218 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.7031, allocations: 8 kB / 1.218 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003165/0.7034, allocations: 67.91 kB / 1.218 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7035, allocations: 7.922 kB / 1.218 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.704, allocations: 63.73 kB / 1.218 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.704, allocations: 8 kB / 1.218 GB, free: 3.367 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.0001221/0.7041, allocations: 208.2 kB / 1.218 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.7042, allocations: 59.25 kB / 1.218 GB, free: 3.098 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007259/0.705, allocations: 419 kB / 1.219 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.705, allocations: 7.938 kB / 1.219 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.705, allocations: 0 / 1.219 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005842/0.7056, allocations: 437.6 kB / 1.219 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001654/0.7072, allocations: 1.175 MB / 1.22 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7072, allocations: 0 / 1.22 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.7077, allocations: 79.89 kB / 1.221 GB, free: 0.8867 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.7077, allocations: 4 kB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.7077, allocations: 11.98 kB / 1.221 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.7077, allocations: 8.188 kB / 1.221 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7077, allocations: 0 / 1.221 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.7088, allocations: 0.7076 MB / 1.221 GB, free: 124 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.709, allocations: 180.4 kB / 1.221 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.7091, allocations: 8.062 kB / 1.221 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.7096, allocations: 51.89 kB / 1.221 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.7097, allocations: 19.97 kB / 1.222 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/0.7097, allocations: 23.92 kB / 1.222 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000382/0.7101, allocations: 366.8 kB / 1.222 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7101, allocations: 0 / 1.222 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007653/0.7109, allocations: 327.2 kB / 1.222 GB, free: 15.14 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.00155/0.7124, allocations: 1.344 MB / 1.224 GB, free: 13.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.7135, allocations: 0.5396 MB / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.7135, allocations: 0 / 1.224 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003024/0.7138, allocations: 184 kB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.7153, allocations: 352.3 kB / 1.225 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.7215, allocations: 4.962 MB / 1.229 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.722, allocations: 0.9295 MB / 1.23 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0006095/0.7226, allocations: 184.8 kB / 1.23 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.7229, allocations: 219.4 kB / 1.231 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of SimCode: time 2.6e-07/0.7229, allocations: 0 / 1.231 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.769/2.492, allocations: 16.52 MB / 1.247 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/2.492, allocations: 228.8 kB / 1.247 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.16/5.652, allocations: 0 / 1.247 GB, free: 5.785 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Delays.Examples.Delay_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Delays_Examples_Delay_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 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.mat","/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