Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings.Fluid.Delays.Examples.Delay") translateModel(Buildings.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|del.T",fileNamePrefix="Buildings_9_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.009152/0.009152, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001836/0.001836, allocations: 191.7 kB / 16.67 MB, free: 6.391 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.549/1.549, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.672/2.672, allocations: 390.2 MB / 0.6648 GB, free: 228 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 62.06 kB / 0.9508 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3473, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 1.137/1.485, allocations: 183.2 MB / 1.267 GB, free: 3.5 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01258/1.497, allocations: 4.871 MB / 1.272 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001807/1.499, allocations: 32.62 kB / 1.272 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/1.501, allocations: 452.6 kB / 1.272 GB, free: 3.441 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005301/1.506, allocations: 1.463 MB / 1.274 GB, free: 3.387 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003303/1.509, allocations: 0.7844 MB / 1.274 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004792/1.514, allocations: 1.85 MB / 1.276 GB, free: 3.371 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00148/1.516, allocations: 0.5977 MB / 1.277 GB, free: 3.316 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/1.519, allocations: 0.9057 MB / 1.278 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002222/1.521, allocations: 0.5423 MB / 1.278 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0002142/1.522, allocations: 60.62 kB / 1.278 GB, free: 3.309 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004906/1.526, allocations: 1.419 MB / 1.28 GB, free: 3.293 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004966/1.527, allocations: 262.7 kB / 1.28 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000904/1.528, allocations: 404.3 kB / 1.28 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004865/1.533, allocations: 1.427 MB / 1.282 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/1.533, allocations: 0.9688 kB / 1.282 GB, free: 3.199 MB / 1.014 GB Notification: Performance of FrontEnd: time 4.779e-06/1.533, allocations: 1.375 kB / 1.282 GB, free: 3.199 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.636e-05/1.533, allocations: 1.094 kB / 1.282 GB, free: 3.199 MB / 1.014 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.002664/1.536, allocations: 1.121 MB / 1.283 GB, free: 2.508 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.536, allocations: 10.59 kB / 1.283 GB, free: 2.508 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001572/1.537, allocations: 214 kB / 1.283 GB, free: 2.465 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/1.538, allocations: 0.6211 MB / 1.283 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/1.539, allocations: 39.28 kB / 1.284 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/1.539, allocations: 47.84 kB / 1.284 GB, free: 2.172 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/1.54, allocations: 500 kB / 1.284 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.54, allocations: 0.5938 kB / 1.284 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/1.54, allocations: 18.31 kB / 1.284 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/1.54, allocations: 19.7 kB / 1.284 GB, free: 2.137 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/1.541, allocations: 440.8 kB / 1.284 GB, free: 2.133 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.004179/1.545, allocations: 2.014 MB / 1.286 GB, free: 1.141 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/1.546, allocations: 347.1 kB / 1.287 GB, free: 1.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/1.547, allocations: 212 kB / 1.287 GB, free: 1.105 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003771/1.547, allocations: 192.4 kB / 1.287 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.753e-05/1.547, allocations: 38.86 kB / 1.287 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 2.865e-06/1.547, allocations: 0 / 1.287 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001913/1.549, allocations: 0.5439 MB / 1.288 GB, free: 16.81 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/1.549, allocations: 57.34 kB / 1.288 GB, free: 16.75 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/1.55, allocations: 0.5045 MB / 1.288 GB, free: 16.63 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.101e-05/1.55, allocations: 32.95 kB / 1.288 GB, free: 16.6 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003715/1.551, allocations: 306.7 kB / 1.289 GB, free: 16.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.551, allocations: 125 kB / 1.289 GB, free: 16.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/1.551, allocations: 67.84 kB / 1.289 GB, free: 16.36 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002746/1.551, allocations: 374.3 kB / 1.289 GB, free: 16.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.552, allocations: 143.1 kB / 1.289 GB, free: 16.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004959/1.552, allocations: 218 kB / 1.289 GB, free: 15.96 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000829/1.553, allocations: 337.1 kB / 1.29 GB, free: 15.93 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.553, allocations: 0 / 1.29 GB, free: 15.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001052/1.554, allocations: 435.4 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/1.554, allocations: 6.094 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.554, allocations: 5.531 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.988e-05/1.554, allocations: 3.062 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/1.555, allocations: 73.77 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.779e-05/1.555, allocations: 5.109 kB / 1.29 GB, free: 15.86 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000615/1.555, allocations: 38.47 kB / 1.29 GB, free: 15.85 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/1.555, allocations: 13.53 kB / 1.29 GB, free: 15.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006874/1.556, allocations: 306.5 kB / 1.291 GB, free: 15.77 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004258/1.556, allocations: 207.2 kB / 1.291 GB, free: 15.7 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007427/1.557, allocations: 332.9 kB / 1.291 GB, free: 15.67 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.59e-06/1.557, allocations: 3.938 kB / 1.291 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0009268/1.558, allocations: 431 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/1.558, allocations: 6.594 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/1.558, allocations: 0.9688 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/1.558, allocations: 2.812 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003532/1.559, allocations: 76.66 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/1.559, allocations: 2.812 kB / 1.292 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/1.559, allocations: 36.5 kB / 1.292 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/1.559, allocations: 10.06 kB / 1.292 GB, free: 15.58 MB / 1.029 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.0002366/1.559, allocations: 202.1 kB / 1.292 GB, free: 15.4 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/1.56, allocations: 61.75 kB / 1.292 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/1.561, allocations: 429.5 kB / 1.292 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/1.561, allocations: 3.625 kB / 1.292 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/1.561, allocations: 3.25 kB / 1.292 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008019/1.561, allocations: 427.5 kB / 1.293 GB, free: 15.15 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/1.564, allocations: 1.177 MB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/1.564, allocations: 3.031 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004588/1.565, allocations: 84.59 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/1.565, allocations: 4.188 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/1.565, allocations: 14.41 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.558e-06/1.565, allocations: 3.281 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.565, allocations: 6.688 kB / 1.294 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/1.566, allocations: 0.7022 MB / 1.295 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/1.566, allocations: 184.3 kB / 1.295 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.103e-05/1.566, allocations: 12.38 kB / 1.295 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004507/1.567, allocations: 24.56 kB / 1.295 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/1.567, allocations: 26.53 kB / 1.295 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/1.567, allocations: 16.84 kB / 1.295 GB, free: 14.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005647/1.567, allocations: 363.3 kB / 1.295 GB, free: 14.35 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.567, allocations: 1.25 kB / 1.295 GB, free: 14.35 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001166/1.569, allocations: 325 kB / 1.296 GB, free: 14.3 MB / 1.029 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.0006442/1.569, allocations: 192.5 kB / 1.296 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001351/1.571, allocations: 0.5211 MB / 1.296 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/1.571, allocations: 1.094 kB / 1.296 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003657/1.571, allocations: 178.8 kB / 1.297 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001744/1.573, allocations: 357.5 kB / 1.297 GB, free: 14.14 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/1.575, allocations: 1.272 MB / 1.298 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006825/1.576, allocations: 0.9374 MB / 1.299 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000663/1.577, allocations: 187.2 kB / 1.299 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/1.577, allocations: 47.5 kB / 1.299 GB, free: 12.86 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/1.577, allocations: 0 / 1.299 GB, free: 12.86 MB / 1.029 GB Notification: Performance of Templates: time 0.02885/1.606, allocations: 11.77 MB / 1.311 GB, free: 12.18 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.makefile (rm -f Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; mkfifo Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe >> ../files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.sim & ./Buildings_9_Buildings.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Delays.Examples.Delay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Delays.Examples.Delay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Delays_Examples_Delay.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches