Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 111.9 kB / 16.43 MB, free: 6.492 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.001055/0.001055, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.107/1.107, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.149/2.149, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383e-05/1.385e-05, allocations: 2.281 kB / 1.055 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.001389/0.00141, allocations: 0.8347 MB / 1.055 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 8.465e-05/0.001505, allocations: 43.78 kB / 1.055 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.00155, allocations: 4 kB / 1.056 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.967e-05/0.001584, allocations: 7.875 kB / 1.056 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.314e-05/0.001642, allocations: 7.875 kB / 1.056 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.23e-05/0.001693, allocations: 15.98 kB / 1.056 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.619e-05/0.001795, allocations: 79.81 kB / 1.056 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.001909, allocations: 43.97 kB / 1.056 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.001953, allocations: 23.81 kB / 1.056 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.476e-05/0.001993, allocations: 31.84 kB / 1.056 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.002011, allocations: 4 kB / 1.056 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.002023, allocations: 8 kB / 1.056 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of combineBinaries: time 9.603e-05/0.002123, allocations: 122.4 kB / 1.056 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 3.408e-05/0.002163, allocations: 78.69 kB / 1.056 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.777e-05/0.002186, allocations: 15.94 kB / 1.056 GB, free: 6.43 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-05/0.002206, allocations: 7.875 kB / 1.056 GB, free: 6.422 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.0003867/0.002598, allocations: 490.5 kB / 1.056 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.96e-05/0.002623, allocations: 15.94 kB / 1.056 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001382/0.002765, allocations: 176.3 kB / 1.057 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of simplify1: time 1.631e-05/0.002787, allocations: 11.98 kB / 1.057 GB, free: 5.613 MB / 0.8262 GB Notification: Performance of Alias: time 0.0005293/0.003322, allocations: 490.1 kB / 1.057 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simplify2: time 5.11e-06/0.003336, allocations: 4 kB / 1.057 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Events: time 9.367e-06/0.00335, allocations: 7.984 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of Detect States: time 4.183e-05/0.003395, allocations: 36.19 kB / 1.057 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of Partitioning: time 4.909e-05/0.003451, allocations: 36.25 kB / 1.057 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001031/0.00356, allocations: 104.4 kB / 1.057 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 5.763e-05/0.003626, allocations: 80.44 kB / 1.057 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002282/0.00386, allocations: 266.8 kB / 1.058 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.166e-05/0.00389, allocations: 32.06 kB / 1.058 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of Cleanup: time 7.594e-06/0.003902, allocations: 7.984 kB / 1.058 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003654/0.004272, allocations: 360.8 kB / 1.058 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of Tearing: time 5.691e-06/0.004287, allocations: 4 kB / 1.058 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of Initialization: time 2.81e-07/0.004291, allocations: 0 / 1.058 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of Tearing: time 2.274e-06/0.004298, allocations: 3.938 kB / 1.058 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Categorize: time 5.34e-06/0.004307, allocations: 0 / 1.058 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of Solve: time 5.234e-05/0.004362, allocations: 39.91 kB / 1.058 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.354e-06/0.004372, allocations: 4 kB / 1.058 GB, free: 3.965 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.315e-05/0.004399, allocations: 21.52 kB / 1.058 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0004244/0.004827, allocations: 0.9077 MB / 1.059 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of Templates: time 0.001738/0.006573, allocations: 464.4 kB / 1.059 GB, free: 2.566 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches