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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Delays.Examples.Delay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 110.4 kB / 16.37 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.002112/0.002112, allocations: 194.3 kB / 17.31 MB, free: 5.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.439/1.439, allocations: 222.9 MB / 241 MB, free: 4.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.723/2.723, allocations: 442.6 MB / 0.7165 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 63.67 kB / 0.8773 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3451, allocations: 153 MB / 1.027 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2069/0.5521, allocations: 183.3 MB / 1.206 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008166/0.5603, allocations: 4.864 MB / 1.21 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.5615, allocations: 35.75 kB / 1.21 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.5627, allocations: 429.4 kB / 1.211 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004038/0.5668, allocations: 1.407 MB / 1.212 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002375/0.5692, allocations: 0.7847 MB / 1.213 GB, free: 8.043 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.5716, allocations: 1.848 MB / 1.215 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007519/0.5723, allocations: 0.5978 MB / 1.215 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.5741, allocations: 0.8638 MB / 1.216 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.5751, allocations: 0.5479 MB / 1.217 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.622e-05/0.5752, allocations: 60 kB / 1.217 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002526/0.5778, allocations: 1.411 MB / 1.218 GB, free: 2.688 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002859/0.5781, allocations: 267.2 kB / 1.218 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.5785, allocations: 398.1 kB / 1.219 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.5807, allocations: 1.418 MB / 1.22 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5807, allocations: 0 / 1.22 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5807, allocations: 0 / 1.22 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.123e-05/0.5807, allocations: 3.984 kB / 1.22 GB, free: 0.6094 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.001789/0.5825, allocations: 1.102 MB / 1.221 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.5826, allocations: 8.031 kB / 1.221 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.5839, allocations: 206.8 kB / 1.222 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.5849, allocations: 0.6123 MB / 1.222 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.174e-05/0.585, allocations: 37 kB / 1.222 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.353e-05/0.5851, allocations: 48 kB / 1.222 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008487/0.5859, allocations: 0.4945 MB / 1.223 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.586, allocations: 0 / 1.223 GB, free: 14 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.586, allocations: 23.94 kB / 1.223 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.5861, allocations: 20.98 kB / 1.223 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007628/0.5869, allocations: 439.7 kB / 1.223 GB, free: 13.53 MB / 0.9825 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.5895, allocations: 2.002 MB / 1.225 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006377/0.5902, allocations: 358.2 kB / 1.225 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003286/0.5905, allocations: 205.3 kB / 1.226 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002941/0.5908, allocations: 190.5 kB / 1.226 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.993e-05/0.5908, allocations: 42.84 kB / 1.226 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=33): time 1.653e-06/0.5909, allocations: 0 / 1.226 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.001206/0.5921, allocations: 0.541 MB / 1.226 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.5922, allocations: 59.34 kB / 1.226 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005393/0.5927, allocations: 0.5069 MB / 1.227 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/0.5928, allocations: 33.7 kB / 1.227 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.593, allocations: 308.2 kB / 1.227 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.5931, allocations: 114.3 kB / 1.227 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.5932, allocations: 69.94 kB / 1.227 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.5934, allocations: 370.7 kB / 1.228 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.5937, allocations: 142.1 kB / 1.228 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003081/0.594, allocations: 215.6 kB / 1.228 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.5945, allocations: 344.4 kB / 1.228 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5945, allocations: 0 / 1.228 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006791/0.5952, allocations: 428.3 kB / 1.229 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.5952, allocations: 4 kB / 1.229 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5953, allocations: 4 kB / 1.229 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.5953, allocations: 4.094 kB / 1.229 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.5956, allocations: 75.89 kB / 1.229 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.5956, allocations: 7.938 kB / 1.229 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.596, allocations: 39.61 kB / 1.229 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.5961, allocations: 15.98 kB / 1.229 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000422/0.5965, allocations: 304 kB / 1.229 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000295/0.5968, allocations: 210.8 kB / 1.23 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000504/0.5973, allocations: 327.4 kB / 1.23 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.322e-06/0.5973, allocations: 4 kB / 1.23 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006646/0.598, allocations: 432.5 kB / 1.23 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.598, allocations: 8 kB / 1.23 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-06/0.598, allocations: 0 / 1.23 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.051e-06/0.5981, allocations: 4 kB / 1.23 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.5984, allocations: 63.91 kB / 1.23 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5984, allocations: 4 kB / 1.23 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/0.5988, allocations: 47.75 kB / 1.23 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5988, allocations: 8 kB / 1.23 GB, free: 5.758 MB / 0.9825 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.0001325/0.599, allocations: 201.5 kB / 1.231 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-05/0.5991, allocations: 55.34 kB / 1.231 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007357/0.5998, allocations: 419 kB / 1.231 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.5998, allocations: 8 kB / 1.231 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5998, allocations: 3.938 kB / 1.231 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005591/0.6004, allocations: 437.6 kB / 1.231 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001683/0.6021, allocations: 1.179 MB / 1.233 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6021, allocations: 8.125 kB / 1.233 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003957/0.6025, allocations: 79.89 kB / 1.233 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.6025, allocations: 4 kB / 1.233 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.6025, allocations: 8 kB / 1.233 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.6026, allocations: 4 kB / 1.233 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6026, allocations: 4.188 kB / 1.233 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009785/0.6035, allocations: 0.7026 MB / 1.233 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002449/0.6038, allocations: 180.3 kB / 1.234 GB, free: 2.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.6039, allocations: 8 kB / 1.234 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004123/0.6043, allocations: 23.97 kB / 1.234 GB, free: 2.289 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.711e-05/0.6044, allocations: 27.91 kB / 1.234 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.6044, allocations: 20 kB / 1.234 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003887/0.6048, allocations: 362.8 kB / 1.234 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6048, allocations: 7.938 kB / 1.234 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007885/0.6056, allocations: 323.2 kB / 1.234 GB, free: 1.566 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.0004523/0.6061, allocations: 192.3 kB / 1.234 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009395/0.607, allocations: 0.5239 MB / 1.235 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.607, allocations: 0 / 1.235 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.6073, allocations: 179.8 kB / 1.235 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/0.6087, allocations: 348.2 kB / 1.236 GB, free: 356 kB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001894/0.6106, allocations: 1.241 MB / 1.237 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.6111, allocations: 0.9411 MB / 1.238 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005095/0.6116, allocations: 180.8 kB / 1.238 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.6118, allocations: 51.42 kB / 1.238 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.6118, allocations: 0 / 1.238 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of Templates: time 0.0197/0.6315, allocations: 11.67 MB / 1.249 GB, free: 2.383 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.makefile (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 & ./Buildings_latest_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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