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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.0007998/0.0007998, allocations: 89.81 kB / 15.36 MB, free: 0.7383 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.005854/0.005854, allocations: 171.2 kB / 16.26 MB, free: 6.613 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.453/1.453, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.849/2.849, allocations: 462.6 MB / 0.7364 GB, free: 320 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 8.75 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3569, allocations: 159.6 MB / 1.059 GB, free: 5.531 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Delays.Examples.Delay): time 0.2022/0.5591, allocations: 178.6 MB / 1.233 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007907/0.5671, allocations: 4.884 MB / 1.238 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009824/0.5681, allocations: 23.81 kB / 1.238 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001223/0.5693, allocations: 374 kB / 1.238 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.5733, allocations: 1.326 MB / 1.24 GB, free: 11.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002147/0.5754, allocations: 0.692 MB / 1.24 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002986/0.5784, allocations: 2.53 MB / 1.243 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008259/0.5793, allocations: 0.49 MB / 1.243 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.5811, allocations: 0.7584 MB / 1.244 GB, free: 7.129 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.5822, allocations: 0.5536 MB / 1.244 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.5823, allocations: 24 kB / 1.244 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003162/0.5855, allocations: 1.609 MB / 1.246 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002829/0.5858, allocations: 223.3 kB / 1.246 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005607/0.5864, allocations: 387.7 kB / 1.247 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.5886, allocations: 1.445 MB / 1.248 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5886, allocations: 4 kB / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5886, allocations: 0 / 1.248 GB, free: 2.883 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.5886, allocations: 0 / 1.248 GB, free: 2.883 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.001578/0.5902, allocations: 0.9617 MB / 1.249 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.5903, allocations: 12.03 kB / 1.249 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001278/0.5916, allocations: 210.8 kB / 1.249 GB, free: 1.648 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008817/0.5925, allocations: 0.5771 MB / 1.25 GB, free: 1.031 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.974e-05/0.5926, allocations: 48.95 kB / 1.25 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.942e-05/0.5926, allocations: 48 kB / 1.25 GB, free: 0.9375 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008448/0.5935, allocations: 498.3 kB / 1.25 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.5935, allocations: 0 / 1.25 GB, free: 460 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.141e-05/0.5936, allocations: 23.98 kB / 1.25 GB, free: 436 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.5936, allocations: 17 kB / 1.25 GB, free: 420 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7403/1.334, allocations: 447 kB / 1.251 GB, free: 194.5 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.004185/1.338, allocations: 2.013 MB / 1.253 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009655/1.339, allocations: 358 kB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/1.34, allocations: 215 kB / 1.253 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003349/1.34, allocations: 195.3 kB / 1.253 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.34, allocations: 37.56 kB / 1.254 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=33): time 2.996e-06/1.34, allocations: 0 / 1.254 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33): time 0.001811/1.342, allocations: 0.5518 MB / 1.254 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.342, allocations: 65.53 kB / 1.254 GB, free: 193.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000719/1.343, allocations: 0.5093 MB / 1.255 GB, free: 193.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.122e-05/1.343, allocations: 32.11 kB / 1.255 GB, free: 193 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/1.343, allocations: 303.9 kB / 1.255 GB, free: 192.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/1.343, allocations: 120.5 kB / 1.255 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.374e-05/1.343, allocations: 34.08 kB / 1.255 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001127/1.343, allocations: 365.1 kB / 1.255 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/1.344, allocations: 143.5 kB / 1.256 GB, free: 192.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/1.344, allocations: 214.7 kB / 1.256 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006083/1.345, allocations: 355.7 kB / 1.256 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.345, allocations: 3.969 kB / 1.256 GB, free: 192.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006835/1.345, allocations: 440.2 kB / 1.257 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/1.345, allocations: 123.4 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/1.345, allocations: 4.031 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.345, allocations: 0 / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.346, allocations: 75.8 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/1.346, allocations: 2.781 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005938/1.346, allocations: 67.72 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.295e-05/1.346, allocations: 15 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/1.346, allocations: 2.969 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005679/1.347, allocations: 347.2 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/1.347, allocations: 2.438 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.538e-06/1.347, allocations: 4.656 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/1.347, allocations: 77.84 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/1.347, allocations: 3.328 kB / 1.257 GB, free: 192.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005165/1.348, allocations: 76.39 kB / 1.257 GB, free: 192.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/1.348, allocations: 11.11 kB / 1.257 GB, free: 192.1 MB / 0.9981 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.0002899/1.348, allocations: 287.3 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.817e-05/1.348, allocations: 56.97 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007341/1.349, allocations: 441.4 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.349, allocations: 2.625 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.349, allocations: 5.578 kB / 1.258 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005429/1.349, allocations: 442.8 kB / 1.259 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/1.351, allocations: 1.192 MB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/1.351, allocations: 2.312 kB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/1.352, allocations: 86.06 kB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/1.352, allocations: 3.797 kB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/1.352, allocations: 13.39 kB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/1.352, allocations: 8.766 kB / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.352, allocations: 0 / 1.26 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/1.353, allocations: 0.7278 MB / 1.26 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/1.353, allocations: 176.2 kB / 1.261 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/1.353, allocations: 14.84 kB / 1.261 GB, free: 191 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004991/1.354, allocations: 52.02 kB / 1.261 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.282e-05/1.354, allocations: 21 kB / 1.261 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/1.354, allocations: 17.16 kB / 1.261 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004439/1.354, allocations: 366.8 kB / 1.261 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.354, allocations: 0 / 1.261 GB, free: 190.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008494/1.355, allocations: 326.5 kB / 1.261 GB, free: 190.8 MB / 0.9981 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.000432/1.355, allocations: 191.5 kB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009649/1.356, allocations: 0.5182 MB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.356, allocations: 6.438 kB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/1.357, allocations: 183.5 kB / 1.262 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.359, allocations: 373.1 kB / 1.263 GB, free: 190.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/1.361, allocations: 1.575 MB / 1.264 GB, free: 189.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/1.361, allocations: 0.9292 MB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0006911/1.362, allocations: 189.1 kB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/1.362, allocations: 46.77 kB / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.41e-07/1.362, allocations: 0 / 1.265 GB, free: 189.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.02664/1.389, allocations: 11.28 MB / 1.276 GB, free: 186.9 MB / 0.9981 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Delays.Examples.Delay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches