Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_11_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.001544/0.001544, 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.001604/0.001604, 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.389/1.389, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.79/2.79, allocations: 469.8 MB / 0.742 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 72.8 kB / 0.908 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3123, allocations: 159.2 MB / 1.063 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2026/0.5149, allocations: 180.9 MB / 1.24 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.008048/0.523, allocations: 4.84 MB / 1.245 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.5239, allocations: 27.81 kB / 1.245 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.5251, allocations: 382 kB / 1.245 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003151/0.5283, allocations: 1.324 MB / 1.246 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001859/0.5301, allocations: 0.7099 MB / 1.247 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.5229/1.053, allocations: 1.848 MB / 1.249 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001115/1.054, allocations: 0.5674 MB / 1.25 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/1.056, allocations: 0.8645 MB / 1.25 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001319/1.058, allocations: 0.5814 MB / 1.251 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/1.058, allocations: 57.69 kB / 1.251 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/1.061, allocations: 1.467 MB / 1.252 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003634/1.061, allocations: 266.7 kB / 1.253 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005896/1.062, allocations: 401.9 kB / 1.253 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/1.064, allocations: 1.488 MB / 1.255 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/1.064, allocations: 3.094 kB / 1.255 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.553e-06/1.064, allocations: 1.938 kB / 1.255 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.055e-05/1.064, allocations: 0 / 1.255 GB, free: 5.812 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.001874/1.066, allocations: 1.104 MB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/1.066, allocations: 8.688 kB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/1.068, allocations: 208.5 kB / 1.256 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/1.068, allocations: 0.5836 MB / 1.256 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/1.068, allocations: 33.66 kB / 1.256 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.583e-05/1.069, allocations: 47.69 kB / 1.256 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000837/1.069, allocations: 0.4907 MB / 1.257 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/1.069, allocations: 7.359 kB / 1.257 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.592e-05/1.069, allocations: 19.34 kB / 1.257 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/1.07, allocations: 16.09 kB / 1.257 GB, free: 20.79 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/1.07, allocations: 439 kB / 1.257 GB, free: 20.79 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.002741/1.073, allocations: 2.008 MB / 1.259 GB, free: 19.81 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005699/1.074, allocations: 349.7 kB / 1.26 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003188/1.074, allocations: 215.2 kB / 1.26 GB, free: 19.78 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003433/1.074, allocations: 189.3 kB / 1.26 GB, free: 19.59 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/1.074, allocations: 39.28 kB / 1.26 GB, free: 19.55 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.074e-06/1.074, allocations: 1 kB / 1.26 GB, free: 19.55 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001222/1.076, allocations: 0.5379 MB / 1.261 GB, free: 19.48 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.076, allocations: 62.97 kB / 1.261 GB, free: 19.42 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005612/1.076, allocations: 0.5037 MB / 1.261 GB, free: 19.3 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/1.076, allocations: 36.7 kB / 1.261 GB, free: 19.27 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002096/1.076, allocations: 301.8 kB / 1.262 GB, free: 19.13 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/1.077, allocations: 117.8 kB / 1.262 GB, free: 19.06 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/1.077, allocations: 72.23 kB / 1.262 GB, free: 19.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002011/1.077, allocations: 366.7 kB / 1.262 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/1.077, allocations: 142.2 kB / 1.262 GB, free: 18.72 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.077, allocations: 220.3 kB / 1.262 GB, free: 18.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005195/1.078, allocations: 342.4 kB / 1.263 GB, free: 18.61 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.078, allocations: 0 / 1.263 GB, free: 18.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006857/1.079, allocations: 425 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/1.079, allocations: 6.453 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/1.079, allocations: 8.266 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.079, allocations: 2.625 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/1.079, allocations: 76.95 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/1.079, allocations: 3.281 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005843/1.08, allocations: 61.17 kB / 1.263 GB, free: 18.53 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/1.08, allocations: 15.73 kB / 1.263 GB, free: 18.53 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004123/1.08, allocations: 306.1 kB / 1.264 GB, free: 18.45 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000271/1.08, allocations: 206.3 kB / 1.264 GB, free: 18.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004809/1.081, allocations: 330.6 kB / 1.264 GB, free: 18.35 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/1.081, allocations: 0 / 1.264 GB, free: 18.35 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006221/1.082, allocations: 427.9 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.082, allocations: 6.062 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/1.082, allocations: 1.188 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/1.082, allocations: 8.297 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/1.082, allocations: 68.19 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/1.082, allocations: 4.391 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/1.082, allocations: 65.92 kB / 1.265 GB, free: 18.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/1.082, allocations: 15.11 kB / 1.265 GB, free: 18.27 MB / 1.014 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.0001824/1.083, allocations: 200.3 kB / 1.265 GB, free: 18.09 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/1.083, allocations: 56.72 kB / 1.265 GB, free: 18.06 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007495/1.083, allocations: 430.5 kB / 1.265 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/1.084, allocations: 6.469 kB / 1.265 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/1.084, allocations: 0 / 1.265 GB, free: 18 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005821/1.084, allocations: 443.7 kB / 1.266 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001822/1.086, allocations: 1.176 MB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/1.086, allocations: 3.281 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/1.086, allocations: 81.66 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.65e-06/1.086, allocations: 2.281 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.01e-05/1.086, allocations: 13.48 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/1.086, allocations: 4.656 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.086, allocations: 3.406 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/1.088, allocations: 0.6971 MB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/1.088, allocations: 177.4 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.778e-05/1.088, allocations: 13.33 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/1.088, allocations: 50.41 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.423e-05/1.089, allocations: 27.52 kB / 1.268 GB, free: 17.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/1.089, allocations: 15.72 kB / 1.268 GB, free: 17.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004582/1.089, allocations: 363.7 kB / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.089, allocations: 0 / 1.268 GB, free: 17.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009223/1.09, allocations: 323.6 kB / 1.269 GB, free: 17 MB / 1.014 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.0004983/1.09, allocations: 193.5 kB / 1.269 GB, free: 16.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001195/1.092, allocations: 0.5526 MB / 1.269 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/1.092, allocations: 2.281 kB / 1.269 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003173/1.092, allocations: 182.8 kB / 1.27 GB, free: 16.89 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.094, allocations: 345.6 kB / 1.27 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002136/1.096, allocations: 1.495 MB / 1.271 GB, free: 16.12 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00077/1.097, allocations: 0.9299 MB / 1.272 GB, free: 15.42 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0007848/1.097, allocations: 185.3 kB / 1.272 GB, free: 15.41 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/1.098, allocations: 52.41 kB / 1.272 GB, free: 15.4 MB / 1.014 GB Notification: Performance of SimCode: time 5.51e-07/1.098, allocations: 5.375 kB / 1.272 GB, free: 15.39 MB / 1.014 GB Notification: Performance of Templates: time 0.02143/1.119, allocations: 11.58 MB / 1.284 GB, free: 14.82 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_11_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches