Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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: 108.3 kB / 16.42 MB, free: 6.52 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.001069/0.001069, allocations: 183.2 kB / 17.35 MB, free: 5.734 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.134/1.134, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.159/2.159, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/9.728e-06, allocations: 2.281 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.00131/0.001327, allocations: 0.828 MB / 1.055 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.235e-05/0.00142, allocations: 43.8 kB / 1.056 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.001465, allocations: 0 / 1.056 GB, free: 6.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.001502, allocations: 11.86 kB / 1.056 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.001565, allocations: 7.875 kB / 1.056 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.424e-05/0.001619, allocations: 15.98 kB / 1.056 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.576e-05/0.001719, allocations: 79.81 kB / 1.056 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.001835, allocations: 39.97 kB / 1.056 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.998e-05/0.001892, allocations: 31.81 kB / 1.056 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.382e-05/0.001931, allocations: 31.84 kB / 1.056 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.001948, allocations: 4 kB / 1.056 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-06/0.001962, allocations: 8 kB / 1.056 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of combineBinaries: time 7.767e-05/0.002044, allocations: 118.4 kB / 1.056 GB, free: 6.516 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.236e-05/0.002081, allocations: 82.69 kB / 1.056 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.403e-05/0.002099, allocations: 11.94 kB / 1.056 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.814e-05/0.002121, allocations: 11.88 kB / 1.056 GB, free: 6.41 MB / 0.8262 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.0003887/0.002514, allocations: 490.5 kB / 1.056 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.639e-05/0.002536, allocations: 15.94 kB / 1.056 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001379/0.002678, allocations: 168.3 kB / 1.057 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of simplify1: time 1.81e-05/0.002701, allocations: 15.98 kB / 1.057 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of Alias: time 0.0005307/0.003237, allocations: 489.9 kB / 1.057 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of simplify2: time 5.34e-06/0.003251, allocations: 4 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of Events: time 9.187e-06/0.003265, allocations: 3.984 kB / 1.057 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of Detect States: time 4.989e-05/0.00332, allocations: 36.14 kB / 1.057 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of Partitioning: time 4.461e-05/0.003372, allocations: 44.23 kB / 1.057 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001063/0.003483, allocations: 100.4 kB / 1.057 GB, free: 4.812 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 5.998e-05/0.003551, allocations: 80.42 kB / 1.057 GB, free: 4.707 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002291/0.003785, allocations: 275 kB / 1.058 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.268e-05/0.003815, allocations: 28.11 kB / 1.058 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of Cleanup: time 7.585e-06/0.003827, allocations: 3.984 kB / 1.058 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003731/0.004204, allocations: 360.4 kB / 1.058 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Tearing: time 8.666e-06/0.00422, allocations: 4 kB / 1.058 GB, free: 4.004 MB / 0.8262 GB Notification: Performance of Initialization: time 5.01e-07/0.004224, allocations: 3.938 kB / 1.058 GB, free: 4 MB / 0.8262 GB Notification: Performance of Tearing: time 1.202e-06/0.004229, allocations: 0 / 1.058 GB, free: 4 MB / 0.8262 GB Notification: Performance of Categorize: time 7.124e-06/0.004243, allocations: 3.984 kB / 1.058 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of Solve: time 5.786e-05/0.004305, allocations: 35.92 kB / 1.058 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.705e-06/0.004312, allocations: 0 / 1.058 GB, free: 3.961 MB / 0.8262 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.336e-05/0.004339, allocations: 21.59 kB / 1.058 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0004422/0.004787, allocations: 0.9092 MB / 1.059 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of Templates: time 0.001777/0.006573, allocations: 467 kB / 1.059 GB, free: 2.559 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches