Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|qSta.qNor|fra.y|lmtd.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 112.2 kB / 16.43 MB, free: 6.523 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.001047/0.001047, allocations: 188.2 kB / 17.36 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.125/1.125, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.229/2.229, allocations: 472.6 MB / 0.7459 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.613e-05, allocations: 6.219 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002074/0.002098, allocations: 1.582 MB / 1.072 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008491/0.002958, allocations: 0.5961 MB / 1.072 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.661e-05/0.003005, allocations: 0 / 1.072 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.632e-05/0.003046, allocations: 11.86 kB / 1.072 GB, free: 7.445 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.00312, allocations: 11.94 kB / 1.072 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.003406, allocations: 51.81 kB / 1.072 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.324e-05/0.003509, allocations: 47.91 kB / 1.072 GB, free: 7.336 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.859e-05/0.003603, allocations: 23.97 kB / 1.072 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.003685, allocations: 27.8 kB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.991e-05/0.003752, allocations: 23.92 kB / 1.072 GB, free: 7.262 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.003772, allocations: 4 kB / 1.072 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.003881, allocations: 51.95 kB / 1.072 GB, free: 7.207 MB / 0.8419 GB Notification: Performance of combineBinaries: time 7.307e-05/0.00396, allocations: 83 kB / 1.073 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 2.062e-05/0.003986, allocations: 47.22 kB / 1.073 GB, free: 7.078 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.195e-05/0.004003, allocations: 8 kB / 1.073 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.488e-05/0.004022, allocations: 7.938 kB / 1.073 GB, free: 7.062 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003511/0.004377, allocations: 349.3 kB / 1.073 GB, free: 6.621 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.844e-05/0.004431, allocations: 11.95 kB / 1.073 GB, free: 6.609 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002872/0.004724, allocations: 316.1 kB / 1.073 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of simplify1: time 1.749e-05/0.004749, allocations: 11.97 kB / 1.073 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of Alias: time 0.000357/0.005111, allocations: 281.3 kB / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of simplify2: time 6.703e-06/0.005126, allocations: 0 / 1.073 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of Detect States: time 6.711e-05/0.005197, allocations: 62.5 kB / 1.074 GB, free: 5.852 MB / 0.8419 GB Notification: Performance of Events: time 0.0001058/0.005309, allocations: 72.64 kB / 1.074 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of Partitioning: time 6.703e-05/0.005383, allocations: 60.09 kB / 1.074 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001857/0.005575, allocations: 152 kB / 1.074 GB, free: 5.566 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001892/0.005772, allocations: 248.2 kB / 1.074 GB, free: 5.297 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003838/0.006161, allocations: 448.6 kB / 1.074 GB, free: 4.824 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.699e-05/0.006186, allocations: 16.12 kB / 1.075 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.892e-05/0.00621, allocations: 19.98 kB / 1.075 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005015/0.006716, allocations: 471 kB / 1.075 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of Tearing: time 7.955e-06/0.006733, allocations: 0 / 1.075 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of Initialization: time 4.11e-07/0.006737, allocations: 0 / 1.075 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of Tearing: time 1.322e-06/0.006742, allocations: 0 / 1.075 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of Categorize: time 6.282e-06/0.006752, allocations: 3.938 kB / 1.075 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001527/0.006909, allocations: 116.3 kB / 1.075 GB, free: 4.188 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.925e-06/0.006923, allocations: 3.938 kB / 1.075 GB, free: 4.184 MB / 0.8419 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: ................. 3 (3) {$SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, 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: ........... 11 (scalar:10, array:1, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, 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.82e-05/0.006955, allocations: 27.81 kB / 1.075 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0006932/0.007653, allocations: 0.9976 MB / 1.076 GB, free: 3.129 MB / 0.8419 GB Notification: Performance of Templates: time 0.003744/0.01141, allocations: 2.029 MB / 1.078 GB, free: 1.102 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches