Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 109.5 kB / 16.42 MB, free: 6.473 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.001046/0.001046, allocations: 188.3 kB / 17.36 MB, free: 5.703 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.155/1.155, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.224/2.224, allocations: 469.8 MB / 0.7431 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.255e-05, allocations: 2.281 kB / 1.066 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001349/0.001369, allocations: 0.835 MB / 1.067 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 9.525e-05/0.001475, allocations: 43.78 kB / 1.067 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.001524, allocations: 4 kB / 1.067 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.001558, allocations: 11.88 kB / 1.067 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.001626, allocations: 7.922 kB / 1.067 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 3.958e-05/0.001674, allocations: 15.98 kB / 1.067 GB, free: 12.69 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.001773, allocations: 75.77 kB / 1.067 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.932e-05/0.001878, allocations: 27.97 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.046e-05/0.001934, allocations: 27.86 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.001975, allocations: 23.86 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.001996, allocations: 12 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-06/0.002008, allocations: 7.938 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.725e-05/0.002089, allocations: 126.4 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.162e-05/0.002135, allocations: 82.69 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.469e-05/0.002154, allocations: 15.88 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.602e-05/0.002174, allocations: 7.938 kB / 1.067 GB, free: 12.29 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 (18) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.0003422/0.00252, allocations: 406.5 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 2.191e-05/0.002549, allocations: 23.88 kB / 1.068 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001119/0.002666, allocations: 132.4 kB / 1.068 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of simplify1: time 4.592e-05/0.002718, allocations: 60.28 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004515/0.003174, allocations: 353.9 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simplify2: time 2.526e-05/0.003208, allocations: 36.42 kB / 1.068 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of Detect States: time 4.375e-05/0.003256, allocations: 43.14 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Events: time 1.151e-05/0.003273, allocations: 4.125 kB / 1.068 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.875e-05/0.003326, allocations: 44.17 kB / 1.068 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of Causalize: time 9.054e-05/0.003421, allocations: 76.39 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 5.328e-05/0.003482, allocations: 68.34 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001919/0.003678, allocations: 207 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.843e-05/0.003705, allocations: 24.09 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.869e-05/0.003728, allocations: 15.98 kB / 1.069 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002998/0.004033, allocations: 270.6 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Tearing: time 8.246e-06/0.004049, allocations: 3.938 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Initialization: time 3.01e-07/0.004054, allocations: 0 / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of Tearing: time 1.032e-06/0.004061, allocations: 4 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Categorize: time 5.229e-06/0.00407, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of Solve: time 4.82e-05/0.004122, allocations: 31.91 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.324e-06/0.004129, allocations: 0 / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 18 (scalar:18, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.676e-05/0.004159, allocations: 30.92 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0004372/0.0046, allocations: 0.9096 MB / 1.07 GB, free: 9.168 MB / 0.8419 GB Notification: Performance of Templates: time 0.001755/0.006364, allocations: 462.6 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches