Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.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.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") translateModel(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mot.y|mot.uppHys.y|mot.delta|ySet.y|mot.lowHys.u|mot.lowHys.y|mot.uppHys.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 110.8 kB / 16.42 MB, free: 6.461 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.001079/0.001079, allocations: 190 kB / 17.36 MB, free: 5.699 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.146/1.146, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.181/2.181, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.042e-05/1.043e-05, allocations: 2.5 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002332/0.002352, allocations: 1.973 MB / 1.057 GB, free: 5.754 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.003346, allocations: 0.7051 MB / 1.057 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.003435, allocations: 4 kB / 1.057 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001883/0.003629, allocations: 91.62 kB / 1.057 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.003755, allocations: 83.62 kB / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000451/0.004213, allocations: 190.6 kB / 1.058 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002658/0.004487, allocations: 287.4 kB / 1.058 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.004621, allocations: 77.81 kB / 1.058 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.004743, allocations: 115.7 kB / 1.058 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.004891, allocations: 119.6 kB / 1.058 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.004931, allocations: 20 kB / 1.058 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.005059, allocations: 107.8 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001753/0.005241, allocations: 300.6 kB / 1.059 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 7.949e-05/0.005325, allocations: 181.2 kB / 1.059 GB, free: 3.496 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.00537, allocations: 31.88 kB / 1.059 GB, free: 3.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.019e-05/0.005405, allocations: 15.88 kB / 1.059 GB, free: 3.449 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: 34 (30) * Number of variables: 33 (33) Notification: Performance of Bindings: time 0.0007303/0.006139, allocations: 0.9211 MB / 1.06 GB, free: 2.418 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 3.379e-05/0.00618, allocations: 35.92 kB / 1.06 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0003503/0.006536, allocations: 473.2 kB / 1.06 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of simplify1: time 2.867e-05/0.006571, allocations: 23.97 kB / 1.06 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of Alias: time 0.0008759/0.007451, allocations: 0.8834 MB / 1.061 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of simplify2: time 1.94e-05/0.00748, allocations: 19.97 kB / 1.061 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of Events: time 0.0001615/0.007646, allocations: 111.8 kB / 1.061 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001926/0.007846, allocations: 195.9 kB / 1.061 GB, free: 0.5039 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001329/0.007986, allocations: 142.4 kB / 1.062 GB, free: 352 kB / 0.8262 GB Notification: Performance of Causalize: time 0.0004046/0.008397, allocations: 390 kB / 1.062 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0003115/0.008717, allocations: 416.5 kB / 1.062 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005991/0.009323, allocations: 0.715 MB / 1.063 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of Partitioning: time 4.198e-05/0.009373, allocations: 46.31 kB / 1.063 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.763e-05/0.009407, allocations: 35.92 kB / 1.063 GB, free: 14.67 MB / 0.8419 GB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) ySet.nextEventScaled = $START.ySet.nextEventScaled ($RES_SRT_44) slice: {}; Notification: Performance of Causalize: time 0.001403/0.01082, allocations: 1.431 MB / 1.064 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Tearing: time 7.735e-06/0.01083, allocations: 0 / 1.064 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Initialization: time 2.81e-07/0.01084, allocations: 0 / 1.064 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Tearing: time 1.403e-06/0.01084, allocations: 0 / 1.064 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Categorize: time 7.695e-06/0.01085, allocations: 4 kB / 1.064 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001171/0.01097, allocations: 85.56 kB / 1.065 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.000209/0.01119, allocations: 313.9 kB / 1.065 GB, free: 12.77 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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 1 (1) {mot.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 15 (15) {mot.uppHys.y, mot.lowHys.y, ySet.a, ySet.b, ySet.last, ySet.nextEvent, ySet.nextEventScaled, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $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: ........... 16 (scalar:16, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, 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.697e-05/0.01123, allocations: 27.52 kB / 1.065 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001035/0.01227, allocations: 1.52 MB / 1.066 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of Templates: time 0.004205/0.01649, allocations: 2.078 MB / 1.068 GB, free: 9.137 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,mot.y,mot.uppHys.y,mot.delta,ySet.y,mot.lowHys.u,mot.lowHys.y,mot.uppHys.u Variables in the result:mot.add.k1,mot.add.k2,mot.delta,mot.int.initType,mot.int.k,mot.int.limitsAtInit,mot.int.outMax,mot.int.outMin,mot.int.strict,mot.int.y_start,mot.lowHys.pre_y_start,mot.lowHys.u,mot.lowHys.uHigh,mot.lowHys.uLow,mot.lowHys.y,mot.lowSwi.u1,mot.lowSwi.u3,mot.tClo,mot.tOpe,mot.uppHys.pre_y_start,mot.uppHys.u,mot.uppHys.uHigh,mot.uppHys.uLow,mot.uppHys.y,mot.uppSwi.u1,mot.uppSwi.u3,mot.vClo.k,mot.vClo.y,mot.vOpe.k,mot.vOpe.y,mot.y,mot.y_start,mot.zer.k,mot.zer.y,time,ySet.offset,ySet.shiftTime,ySet.startTime,ySet.table[1,1],ySet.table[1,2],ySet.table[10,1],ySet.table[10,2],ySet.table[11,1],ySet.table[11,2],ySet.table[12,1],ySet.table[12,2],ySet.table[13,1],ySet.table[13,2],ySet.table[2,1],ySet.table[2,2],ySet.table[3,1],ySet.table[3,2],ySet.table[4,1],ySet.table[4,2],ySet.table[5,1],ySet.table[5,2],ySet.table[6,1],ySet.table[6,2],ySet.table[7,1],ySet.table[7,2],ySet.table[8,1],ySet.table[8,2],ySet.table[9,1],ySet.table[9,2],ySet.timeScale,ySet.timeScaled,ySet.y