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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.007701/0.007701, allocations: 113.6 kB / 15.71 MB, free: 6.078 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.001788/0.001788, allocations: 190.3 kB / 16.64 MB, free: 6 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.43/1.43, allocations: 222.9 MB / 240.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.313/2.313, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9512/0.9526, allocations: 140.4 MB / 1.088 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2515/1.204, allocations: 183.3 MB / 1.267 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009091/1.213, allocations: 4.858 MB / 1.272 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/1.214, allocations: 31.81 kB / 1.272 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001319/1.216, allocations: 429.3 kB / 1.272 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003821/1.22, allocations: 1.419 MB / 1.273 GB, free: 15.6 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002289/1.222, allocations: 0.7859 MB / 1.274 GB, free: 14.82 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002646/1.225, allocations: 1.848 MB / 1.276 GB, free: 12.96 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009245/1.226, allocations: 0.5979 MB / 1.277 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002043/1.228, allocations: 0.8654 MB / 1.277 GB, free: 11.49 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/1.229, allocations: 0.5501 MB / 1.278 GB, free: 10.94 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.229, allocations: 63.94 kB / 1.278 GB, free: 10.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.233, allocations: 1.419 MB / 1.279 GB, free: 9.457 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0006553/1.234, allocations: 263.3 kB / 1.28 GB, free: 9.199 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000843/1.235, allocations: 406 kB / 1.28 GB, free: 8.801 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003269/1.238, allocations: 1.414 MB / 1.281 GB, free: 7.383 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.238, allocations: 0 / 1.281 GB, free: 7.383 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.154e-06/1.238, allocations: 3.938 kB / 1.281 GB, free: 7.379 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.108e-05/1.238, allocations: 4 kB / 1.282 GB, free: 7.375 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.001995/1.24, allocations: 1.09 MB / 1.283 GB, free: 6.234 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/1.24, allocations: 11.97 kB / 1.283 GB, free: 6.223 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/1.242, allocations: 214.8 kB / 1.283 GB, free: 6.012 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009946/1.243, allocations: 0.6161 MB / 1.283 GB, free: 5.352 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/1.243, allocations: 37 kB / 1.283 GB, free: 5.316 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/1.243, allocations: 48 kB / 1.283 GB, free: 5.27 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009498/1.244, allocations: 498.3 kB / 1.284 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/1.244, allocations: 0 / 1.284 GB, free: 4.777 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.097e-05/1.244, allocations: 20 kB / 1.284 GB, free: 4.758 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.141e-05/1.244, allocations: 13 kB / 1.284 GB, free: 4.746 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008058/1.245, allocations: 443.7 kB / 1.284 GB, free: 4.312 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.00285/1.248, allocations: 2.009 MB / 1.286 GB, free: 2.129 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006429/1.248, allocations: 339.5 kB / 1.287 GB, free: 1.789 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/1.249, allocations: 214.7 kB / 1.287 GB, free: 1.578 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000299/1.249, allocations: 198.5 kB / 1.287 GB, free: 1.348 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/1.249, allocations: 38.84 kB / 1.287 GB, free: 1.301 MB / 1.014 GB Notification: Performance of pre-optimization done (n=33): time 1.884e-06/1.249, allocations: 0 / 1.287 GB, free: 1.301 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.001298/1.25, allocations: 0.5371 MB / 1.288 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/1.25, allocations: 63.34 kB / 1.288 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005503/1.251, allocations: 0.5069 MB / 1.288 GB, free: 172 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/1.251, allocations: 29.7 kB / 1.288 GB, free: 136 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/1.251, allocations: 304.3 kB / 1.289 GB, free: 15.83 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/1.251, allocations: 122.2 kB / 1.289 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.252, allocations: 70.02 kB / 1.289 GB, free: 15.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.252, allocations: 366.7 kB / 1.289 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/1.252, allocations: 150.1 kB / 1.289 GB, free: 15.12 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/1.252, allocations: 207.6 kB / 1.289 GB, free: 14.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005705/1.253, allocations: 339.2 kB / 1.29 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.253, allocations: 0 / 1.29 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007284/1.254, allocations: 433.6 kB / 1.29 GB, free: 14.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.254, allocations: 8 kB / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/1.254, allocations: 0 / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/1.254, allocations: 8.094 kB / 1.29 GB, free: 14.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.254, allocations: 67.91 kB / 1.29 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.254, allocations: 11.88 kB / 1.29 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004629/1.255, allocations: 35.72 kB / 1.29 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/1.255, allocations: 12 kB / 1.29 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004376/1.255, allocations: 305.5 kB / 1.291 GB, free: 13.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000329/1.255, allocations: 214.7 kB / 1.291 GB, free: 13.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000538/1.256, allocations: 331.2 kB / 1.291 GB, free: 13.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/1.256, allocations: 0 / 1.291 GB, free: 13.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.000679/1.257, allocations: 428.6 kB / 1.291 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/1.257, allocations: 4 kB / 1.291 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-06/1.257, allocations: 0 / 1.291 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/1.257, allocations: 4 kB / 1.291 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/1.257, allocations: 68.03 kB / 1.292 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/1.257, allocations: 16.03 kB / 1.292 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/1.257, allocations: 35.75 kB / 1.292 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/1.258, allocations: 12 kB / 1.292 GB, free: 12.55 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.000154/1.258, allocations: 204.7 kB / 1.292 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.657e-05/1.258, allocations: 55.34 kB / 1.292 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007983/1.259, allocations: 432 kB / 1.292 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.259, allocations: 8 kB / 1.292 GB, free: 11.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.259, allocations: 3.938 kB / 1.292 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006073/1.259, allocations: 432.5 kB / 1.293 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001741/1.261, allocations: 1.178 MB / 1.294 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/1.261, allocations: 0 / 1.294 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/1.261, allocations: 83.89 kB / 1.294 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/1.261, allocations: 4 kB / 1.294 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/1.261, allocations: 8 kB / 1.294 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.261, allocations: 4.188 kB / 1.294 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.262, allocations: 7.938 kB / 1.294 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/1.263, allocations: 0.695 MB / 1.295 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/1.263, allocations: 184.3 kB / 1.295 GB, free: 9.102 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.759e-05/1.263, allocations: 8 kB / 1.295 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004508/1.263, allocations: 23.97 kB / 1.295 GB, free: 9.07 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/1.263, allocations: 23.91 kB / 1.295 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/1.263, allocations: 20 kB / 1.295 GB, free: 9.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003993/1.264, allocations: 366.8 kB / 1.295 GB, free: 8.672 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.264, allocations: 0 / 1.295 GB, free: 8.672 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008134/1.265, allocations: 319.2 kB / 1.296 GB, free: 8.359 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.0004078/1.265, allocations: 195.1 kB / 1.296 GB, free: 8.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0009582/1.266, allocations: 0.5114 MB / 1.296 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.266, allocations: 4 kB / 1.296 GB, free: 7.652 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.266, allocations: 179.7 kB / 1.296 GB, free: 7.477 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/1.268, allocations: 352.6 kB / 1.297 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/1.27, allocations: 1.252 MB / 1.298 GB, free: 5.832 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/1.27, allocations: 0.9334 MB / 1.299 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005376/1.271, allocations: 184.8 kB / 1.299 GB, free: 4.684 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/1.271, allocations: 51.42 kB / 1.299 GB, free: 4.637 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/1.271, allocations: 0 / 1.299 GB, free: 4.637 MB / 1.029 GB Notification: Performance of Templates: time 0.01982/1.291, allocations: 11.67 MB / 1.31 GB, free: 9.16 MB / 1.045 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