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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001509/0.001509, allocations: 104.7 kB / 16.27 MB, free: 5.977 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.001487/0.001487, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.376/1.376, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.661/2.661, allocations: 482.4 MB / 0.7553 GB, free: 7.008 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.58 kB / 0.9245 GB, free: 20 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7487/0.7506, allocations: 162.2 MB / 1.083 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2364/0.9871, allocations: 183.3 MB / 1.262 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008348/0.9955, allocations: 4.865 MB / 1.267 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.9965, allocations: 31.81 kB / 1.267 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.9978, allocations: 445.3 kB / 1.267 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003627/1.001, allocations: 1.395 MB / 1.268 GB, free: 368 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00201/1.004, allocations: 0.7662 MB / 1.269 GB, free: 15.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00238/1.006, allocations: 1.851 MB / 1.271 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008636/1.007, allocations: 0.5901 MB / 1.272 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002355/1.009, allocations: 1.078 MB / 1.273 GB, free: 12.05 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/1.01, allocations: 0.5378 MB / 1.273 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001187/1.011, allocations: 60 kB / 1.273 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/1.013, allocations: 1.399 MB / 1.275 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002986/1.014, allocations: 259.3 kB / 1.275 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004431/1.014, allocations: 402 kB / 1.275 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/1.016, allocations: 1.402 MB / 1.277 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/1.016, allocations: 4 kB / 1.277 GB, free: 8 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/1.016, allocations: 0 / 1.277 GB, free: 8 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.016, allocations: 0 / 1.277 GB, free: 8 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.001729/1.018, allocations: 1.102 MB / 1.278 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/1.018, allocations: 12.03 kB / 1.278 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001242/1.019, allocations: 210.8 kB / 1.278 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/1.02, allocations: 0.5848 MB / 1.278 GB, free: 6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/1.02, allocations: 37 kB / 1.279 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.174e-05/1.02, allocations: 44 kB / 1.279 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/1.021, allocations: 0.4906 MB / 1.279 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/1.021, allocations: 0 / 1.279 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.132e-05/1.021, allocations: 20 kB / 1.279 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/1.021, allocations: 21 kB / 1.279 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008188/1.022, allocations: 447.5 kB / 1.279 GB, free: 4.949 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.002805/1.025, allocations: 2.089 MB / 1.282 GB, free: 2.664 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006563/1.025, allocations: 355.2 kB / 1.282 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/1.026, allocations: 211.3 kB / 1.282 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/1.026, allocations: 190.5 kB / 1.282 GB, free: 1.883 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.026, allocations: 42.84 kB / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 1.472e-06/1.026, allocations: 0 / 1.282 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001248/1.027, allocations: 0.5341 MB / 1.283 GB, free: 1.293 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/1.027, allocations: 71.22 kB / 1.283 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005815/1.028, allocations: 0.5069 MB / 1.283 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/1.028, allocations: 33.7 kB / 1.283 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002322/1.028, allocations: 304.2 kB / 1.284 GB, free: 364 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/1.028, allocations: 114.3 kB / 1.284 GB, free: 248 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/1.029, allocations: 62.03 kB / 1.284 GB, free: 180 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001963/1.029, allocations: 370.8 kB / 1.284 GB, free: 15.8 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/1.029, allocations: 142.1 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/1.029, allocations: 219.3 kB / 1.285 GB, free: 15.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/1.03, allocations: 345.4 kB / 1.285 GB, free: 15.08 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.03, allocations: 0 / 1.285 GB, free: 15.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007394/1.031, allocations: 428.5 kB / 1.285 GB, free: 14.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/1.031, allocations: 8 kB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/1.031, allocations: 0 / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.031, allocations: 4 kB / 1.285 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003308/1.031, allocations: 71.98 kB / 1.285 GB, free: 14.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/1.031, allocations: 11.88 kB / 1.285 GB, free: 14.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004338/1.032, allocations: 39.67 kB / 1.285 GB, free: 14.52 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.233e-05/1.032, allocations: 12 kB / 1.285 GB, free: 14.51 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004485/1.032, allocations: 304 kB / 1.286 GB, free: 14.21 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003217/1.032, allocations: 214.8 kB / 1.286 GB, free: 13.97 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005743/1.033, allocations: 335.3 kB / 1.286 GB, free: 13.63 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.303e-06/1.033, allocations: 4 kB / 1.286 GB, free: 13.63 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0007309/1.034, allocations: 424.7 kB / 1.287 GB, free: 13.21 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/1.034, allocations: 4 kB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/1.034, allocations: 0 / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.859e-06/1.034, allocations: 4 kB / 1.287 GB, free: 13.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/1.034, allocations: 72.03 kB / 1.287 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/1.034, allocations: 0 / 1.287 GB, free: 13.13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/1.035, allocations: 47.78 kB / 1.287 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/1.035, allocations: 16 kB / 1.287 GB, free: 13.07 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.0001552/1.035, allocations: 196.1 kB / 1.287 GB, free: 12.87 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/1.035, allocations: 59.25 kB / 1.287 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007856/1.036, allocations: 416.8 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/1.036, allocations: 7.938 kB / 1.287 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.036, allocations: 7.938 kB / 1.287 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006351/1.036, allocations: 440.4 kB / 1.288 GB, free: 11.92 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/1.038, allocations: 1.172 MB / 1.289 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/1.038, allocations: 3.984 kB / 1.289 GB, free: 10.67 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004044/1.039, allocations: 83.89 kB / 1.289 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.301e-06/1.039, allocations: 4 kB / 1.289 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/1.039, allocations: 8 kB / 1.289 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.366e-06/1.039, allocations: 7.938 kB / 1.289 GB, free: 10.57 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/1.039, allocations: 4.125 kB / 1.289 GB, free: 10.56 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/1.04, allocations: 0.7154 MB / 1.29 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/1.04, allocations: 180.3 kB / 1.29 GB, free: 9.617 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.346e-05/1.04, allocations: 12 kB / 1.29 GB, free: 9.605 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/1.04, allocations: 23.97 kB / 1.29 GB, free: 9.582 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/1.041, allocations: 15.98 kB / 1.29 GB, free: 9.566 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/1.041, allocations: 19.98 kB / 1.29 GB, free: 9.547 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004107/1.041, allocations: 370.8 kB / 1.29 GB, free: 9.188 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.61e-07/1.041, allocations: 0 / 1.29 GB, free: 9.188 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008248/1.042, allocations: 319.3 kB / 1.291 GB, free: 8.875 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.000426/1.042, allocations: 190.5 kB / 1.291 GB, free: 8.688 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.043, allocations: 0.5589 MB / 1.291 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.043, allocations: 0 / 1.291 GB, free: 8.129 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003214/1.044, allocations: 184.9 kB / 1.292 GB, free: 7.949 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/1.045, allocations: 348.9 kB / 1.292 GB, free: 7.613 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/1.047, allocations: 1.301 MB / 1.293 GB, free: 6.262 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/1.048, allocations: 0.9334 MB / 1.294 GB, free: 5.301 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/1.048, allocations: 47.44 kB / 1.294 GB, free: 5.254 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.048, allocations: 0 / 1.294 GB, free: 5.254 MB / 1.014 GB Notification: Performance of Templates: time 0.01449/1.063, allocations: 9.655 MB / 1.304 GB, free: 11.67 MB / 1.029 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=400 -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