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.001475/0.001475, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001425/0.001425, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.385/1.385, allocations: 222.9 MB / 240.6 MB, free: 4.512 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.74/2.74, allocations: 469.8 MB / 0.7427 GB, free: 7.566 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001912, allocations: 69.53 kB / 0.9087 GB, free: 34.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3185, allocations: 159.1 MB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2011/0.5196, allocations: 180.9 MB / 1.241 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00814/0.5278, allocations: 4.847 MB / 1.245 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.5289, allocations: 27.81 kB / 1.246 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.5301, allocations: 378.1 kB / 1.246 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.5338, allocations: 1.329 MB / 1.247 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.5359, allocations: 0.7047 MB / 1.248 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.6064/1.142, allocations: 1.848 MB / 1.25 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/1.144, allocations: 0.5725 MB / 1.25 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/1.146, allocations: 0.8637 MB / 1.251 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/1.147, allocations: 0.5782 MB / 1.252 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001403/1.147, allocations: 59.12 kB / 1.252 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003008/1.15, allocations: 1.47 MB / 1.253 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003443/1.151, allocations: 265.6 kB / 1.253 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000556/1.151, allocations: 399.8 kB / 1.254 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00166/1.153, allocations: 1.047 MB / 1.255 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.153, allocations: 0.6875 kB / 1.255 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.405e-06/1.153, allocations: 0.8438 kB / 1.255 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.029e-05/1.153, allocations: 1.984 kB / 1.255 GB, free: 5.816 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.002005/1.155, allocations: 1.095 MB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/1.155, allocations: 10.09 kB / 1.256 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001345/1.157, allocations: 211.1 kB / 1.256 GB, free: 21.12 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008549/1.157, allocations: 0.5835 MB / 1.257 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/1.157, allocations: 37.44 kB / 1.257 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/1.157, allocations: 54.5 kB / 1.257 GB, free: 20.84 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008158/1.158, allocations: 496.3 kB / 1.257 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/1.158, allocations: 0 / 1.257 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/1.158, allocations: 22.72 kB / 1.257 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.729e-05/1.158, allocations: 16.02 kB / 1.257 GB, free: 20.8 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007114/1.159, allocations: 438.2 kB / 1.258 GB, free: 20.8 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.002804/1.162, allocations: 2.008 MB / 1.26 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005982/1.163, allocations: 351.4 kB / 1.26 GB, free: 19.8 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003148/1.163, allocations: 214.2 kB / 1.26 GB, free: 19.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003289/1.163, allocations: 194.8 kB / 1.26 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/1.163, allocations: 37.88 kB / 1.26 GB, free: 19.56 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.994e-06/1.163, allocations: 0 / 1.26 GB, free: 19.56 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001168/1.164, allocations: 0.5374 MB / 1.261 GB, free: 19.49 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/1.165, allocations: 59.83 kB / 1.261 GB, free: 19.43 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005647/1.165, allocations: 0.5087 MB / 1.261 GB, free: 19.31 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.645e-05/1.165, allocations: 32.33 kB / 1.261 GB, free: 19.28 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/1.165, allocations: 303.4 kB / 1.262 GB, free: 19.14 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 9.593e-05/1.165, allocations: 116 kB / 1.262 GB, free: 19.07 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/1.166, allocations: 73.72 kB / 1.262 GB, free: 19.05 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.166, allocations: 365 kB / 1.262 GB, free: 18.73 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002466/1.166, allocations: 143.6 kB / 1.262 GB, free: 18.73 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/1.166, allocations: 222.2 kB / 1.263 GB, free: 18.66 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004948/1.167, allocations: 339.2 kB / 1.263 GB, free: 18.62 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.167, allocations: 0 / 1.263 GB, free: 18.62 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006483/1.167, allocations: 429.7 kB / 1.263 GB, free: 18.56 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/1.167, allocations: 8.219 kB / 1.263 GB, free: 18.56 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.168, allocations: 3.938 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/1.168, allocations: 3.344 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003154/1.168, allocations: 73.72 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.168, allocations: 5.312 kB / 1.263 GB, free: 18.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/1.168, allocations: 62.88 kB / 1.264 GB, free: 18.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-05/1.169, allocations: 18.5 kB / 1.264 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004435/1.169, allocations: 307.8 kB / 1.264 GB, free: 18.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002794/1.169, allocations: 208.2 kB / 1.264 GB, free: 18.39 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004704/1.17, allocations: 329.8 kB / 1.264 GB, free: 18.36 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/1.17, allocations: 0 / 1.264 GB, free: 18.36 MB / 1.014 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0006273/1.17, allocations: 421.9 kB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 9.137e-06/1.17, allocations: 4.188 kB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/1.17, allocations: 1.984 kB / 1.265 GB, free: 18.3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/1.17, allocations: 8.891 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002889/1.171, allocations: 74.95 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/1.171, allocations: 2.688 kB / 1.265 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/1.171, allocations: 65.44 kB / 1.265 GB, free: 18.28 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/1.171, allocations: 13.11 kB / 1.265 GB, free: 18.28 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.0001741/1.171, allocations: 201 kB / 1.265 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.98e-05/1.172, allocations: 56.31 kB / 1.265 GB, free: 18.07 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/1.172, allocations: 435.3 kB / 1.266 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/1.172, allocations: 5.25 kB / 1.266 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/1.172, allocations: 0.9688 kB / 1.266 GB, free: 18.01 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005867/1.173, allocations: 436.6 kB / 1.266 GB, free: 17.84 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/1.175, allocations: 1.178 MB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.175, allocations: 2.75 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004367/1.175, allocations: 84.89 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/1.175, allocations: 4.719 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/1.175, allocations: 8.453 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.175, allocations: 3.094 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/1.175, allocations: 7.312 kB / 1.267 GB, free: 17.48 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001144/1.176, allocations: 0.6973 MB / 1.268 GB, free: 17.27 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/1.177, allocations: 179.5 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-05/1.177, allocations: 13.59 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.177, allocations: 44.7 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/1.177, allocations: 26.8 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-05/1.177, allocations: 17.28 kB / 1.268 GB, free: 17.14 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004882/1.178, allocations: 361.3 kB / 1.269 GB, free: 17.05 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/1.178, allocations: 0.9375 kB / 1.269 GB, free: 17.05 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009556/1.179, allocations: 325.8 kB / 1.269 GB, free: 17.01 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.0005105/1.179, allocations: 192.5 kB / 1.269 GB, free: 16.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001145/1.181, allocations: 0.5513 MB / 1.27 GB, free: 16.9 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.181, allocations: 2.312 kB / 1.27 GB, free: 16.9 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0003254/1.181, allocations: 187.6 kB / 1.27 GB, free: 16.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/1.182, allocations: 355.2 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.002165/1.185, allocations: 1.529 MB / 1.272 GB, free: 16.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/1.185, allocations: 0.9305 MB / 1.272 GB, free: 15.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/1.186, allocations: 49.83 kB / 1.273 GB, free: 15.38 MB / 1.014 GB Notification: Performance of SimCode: time 5.11e-07/1.186, allocations: 0.625 kB / 1.273 GB, free: 15.38 MB / 1.014 GB Notification: Performance of Templates: time 0.01874/1.204, allocations: 9.674 MB / 1.282 GB, free: 14.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches