Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.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.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hysteresis.u|hysteresis.y|hysteresis1.u|hysteresis1.y|hysteresis2.u|hysteresis2.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 109.1 kB / 16.42 MB, free: 6.441 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.001048/0.001048, allocations: 183.2 kB / 17.36 MB, free: 5.684 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.123/1.123, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.212/2.212, allocations: 472.6 MB / 0.7459 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.081e-05/1.082e-05, allocations: 6.219 kB / 1.07 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis): time 0.001319/0.00134, allocations: 0.8502 MB / 1.071 GB, free: 8.75 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008599/0.00221, allocations: 0.8818 MB / 1.072 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.948e-05/0.002269, allocations: 0 / 1.072 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.722e-05/0.002305, allocations: 11.81 kB / 1.072 GB, free: 7.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.002386, allocations: 23.78 kB / 1.072 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.002562, allocations: 35.89 kB / 1.072 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.002702, allocations: 131.7 kB / 1.072 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.669e-05/0.002805, allocations: 25.11 kB / 1.072 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.002915, allocations: 55.83 kB / 1.072 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.369e-05/0.002997, allocations: 55.77 kB / 1.072 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.003027, allocations: 15.88 kB / 1.072 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.846e-05/0.00305, allocations: 12 kB / 1.072 GB, free: 7.496 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001116/0.003165, allocations: 174 kB / 1.072 GB, free: 7.324 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 4.202e-05/0.003213, allocations: 102.3 kB / 1.072 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.003239, allocations: 19.94 kB / 1.072 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.777e-05/0.003261, allocations: 4 kB / 1.072 GB, free: 7.199 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0004603/0.003725, allocations: 0.5734 MB / 1.073 GB, free: 6.523 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 8.708e-05/0.003817, allocations: 43.91 kB / 1.073 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002199/0.004044, allocations: 288.2 kB / 1.073 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of simplify1: time 3.165e-05/0.004081, allocations: 27.95 kB / 1.073 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004198/0.004505, allocations: 347 kB / 1.074 GB, free: 5.727 MB / 0.8419 GB Notification: Performance of simplify2: time 2.348e-05/0.004539, allocations: 19.97 kB / 1.074 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001635/0.004707, allocations: 116 kB / 1.074 GB, free: 5.578 MB / 0.8419 GB Notification: Performance of Events: time 0.000161/0.004875, allocations: 139.6 kB / 1.074 GB, free: 5.441 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001424/0.005024, allocations: 160.7 kB / 1.074 GB, free: 5.238 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004145/0.005444, allocations: 433.6 kB / 1.075 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002938/0.005746, allocations: 400.6 kB / 1.075 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003572/0.006109, allocations: 468.2 kB / 1.075 GB, free: 3.859 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.662e-05/0.006141, allocations: 28.11 kB / 1.075 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.544e-05/0.006171, allocations: 27.91 kB / 1.075 GB, free: 3.797 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004841/0.00666, allocations: 477 kB / 1.076 GB, free: 3.324 MB / 0.8419 GB Notification: Performance of Tearing: time 7.825e-06/0.006676, allocations: 3.938 kB / 1.076 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of Initialization: time 5.01e-07/0.006682, allocations: 4 kB / 1.076 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of Tearing: time 4.659e-06/0.006691, allocations: 3.938 kB / 1.076 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of Categorize: time 1.028e-05/0.006706, allocations: 7.984 kB / 1.076 GB, free: 3.305 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001012/0.006811, allocations: 79.86 kB / 1.076 GB, free: 3.227 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.555e-06/0.006819, allocations: 0 / 1.076 GB, free: 3.227 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: ......... 6 * 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: ................. 16 (16) {hysteresis.y, hysteresis1.y, hysteresis2.y, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 23 (scalar:23, 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: ........... 26 (scalar:26, 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 3.635e-05/0.006859, allocations: 40.27 kB / 1.076 GB, free: 3.199 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005483/0.007412, allocations: 1.037 MB / 1.077 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of Templates: time 0.002857/0.01028, allocations: 1.28 MB / 1.078 GB, free: 0.8555 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Hysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Hysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches