Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001123/0.001123, allocations: 111 kB / 16.42 MB, free: 6.527 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.001086/0.001086, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.127/1.127, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.198/2.198, allocations: 469.8 MB / 0.7432 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.353e-05/1.355e-05, allocations: 10.16 kB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002369/0.002391, allocations: 1.958 MB / 1.068 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0009969/0.003398, allocations: 0.709 MB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.003486, allocations: 0 / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.003688, allocations: 87.64 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.003802, allocations: 87.58 kB / 1.069 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.004273, allocations: 180.9 kB / 1.069 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002833/0.004565, allocations: 291.3 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.004688, allocations: 49.91 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.004812, allocations: 119.6 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.004961, allocations: 131.5 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.004999, allocations: 20 kB / 1.069 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.00513, allocations: 95.86 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0002016/0.005338, allocations: 300.6 kB / 1.07 GB, free: 9.598 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 8.647e-05/0.005431, allocations: 185.1 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.005472, allocations: 31.88 kB / 1.07 GB, free: 9.383 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.923e-05/0.005506, allocations: 11.94 kB / 1.07 GB, free: 9.371 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: 34 (30) * Number of variables: 33 (33) Notification: Performance of Bindings: time 0.0006389/0.006149, allocations: 0.7179 MB / 1.071 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 3.171e-05/0.006186, allocations: 39.92 kB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002794/0.00647, allocations: 317.3 kB / 1.071 GB, free: 8.172 MB / 0.8419 GB Notification: Performance of simplify1: time 8.664e-05/0.006563, allocations: 97.41 kB / 1.071 GB, free: 8.051 MB / 0.8419 GB Notification: Performance of Alias: time 0.0007314/0.0073, allocations: 0.6176 MB / 1.072 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of simplify2: time 6.142e-05/0.007371, allocations: 64.38 kB / 1.072 GB, free: 7.195 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001407/0.007517, allocations: 114.6 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of Events: time 0.0001517/0.007678, allocations: 105.5 kB / 1.072 GB, free: 6.969 MB / 0.8419 GB Notification: Performance of Partitioning: time 0.0001124/0.007797, allocations: 115 kB / 1.072 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003398/0.008143, allocations: 290.2 kB / 1.072 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002409/0.008392, allocations: 288.5 kB / 1.073 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of Inline: time 0.0005038/0.008903, allocations: 0.5127 MB / 1.073 GB, free: 5.676 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.446e-05/0.008947, allocations: 30.3 kB / 1.073 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of Cleanup: time 7.85e-05/0.009031, allocations: 91.92 kB / 1.073 GB, free: 5.547 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); Notification: Performance of Causalize: time 0.001095/0.01013, allocations: 0.9691 MB / 1.074 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of Tearing: time 8.015e-06/0.01015, allocations: 3.938 kB / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Initialization: time 1.643e-06/0.01015, allocations: 0 / 1.074 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of Tearing: time 1.653e-06/0.01016, allocations: 3.938 kB / 1.074 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of Categorize: time 7.715e-06/0.01017, allocations: 3.984 kB / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001058/0.01028, allocations: 65.62 kB / 1.074 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0001792/0.01046, allocations: 262 kB / 1.074 GB, free: 4.172 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 4.823e-05/0.01052, allocations: 31.45 kB / 1.074 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001009/0.01153, allocations: 1.506 MB / 1.076 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of Templates: time 0.004072/0.01562, allocations: 2.062 MB / 1.078 GB, free: 0.5586 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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