Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001121/0.001121, allocations: 112.5 kB / 16.43 MB, free: 6.508 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: 185.9 kB / 17.36 MB, free: 5.754 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 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.886/1.886, allocations: 390.2 MB / 0.6655 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.708e-06/9.708e-06, allocations: 2.281 kB / 0.9514 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Motors.Examples.IdealMotor): time 0.002322/0.002341, allocations: 1.953 MB / 0.9533 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.003302, allocations: 0.7129 MB / 0.954 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.925e-05/0.003391, allocations: 7.938 kB / 0.954 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.003574, allocations: 75.69 kB / 0.9541 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.003708, allocations: 99.56 kB / 0.9542 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004359/0.004151, allocations: 187.3 kB / 0.9544 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000272/0.004432, allocations: 287.4 kB / 0.9547 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.004567, allocations: 77.81 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.004676, allocations: 119.6 kB / 0.9549 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.004824, allocations: 119.6 kB / 0.955 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.824e-05/0.00486, allocations: 24 kB / 0.955 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.004976, allocations: 99.91 kB / 0.9551 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001738/0.005157, allocations: 300.5 kB / 0.9554 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 7.278e-05/0.005235, allocations: 181.2 kB / 0.9555 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.73e-05/0.005278, allocations: 27.94 kB / 0.9556 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.513e-05/0.005308, allocations: 11.88 kB / 0.9556 GB, free: 3.492 MB / 0.7325 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.0006976/0.006009, allocations: 0.925 MB / 0.9565 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 3.148e-05/0.006046, allocations: 35.92 kB / 0.9565 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0003544/0.006405, allocations: 473.2 kB / 0.957 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of simplify1: time 2.9e-05/0.006441, allocations: 27.95 kB / 0.957 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of Alias: time 0.0008496/0.007295, allocations: 0.8873 MB / 0.9579 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of simplify2: time 1.744e-05/0.007322, allocations: 15.97 kB / 0.9579 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001617/0.007489, allocations: 150.1 kB / 0.958 GB, free: 0.6992 MB / 0.7325 GB Notification: Performance of Events: time 0.0001492/0.007645, allocations: 109.6 kB / 0.9581 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001319/0.007784, allocations: 157.8 kB / 0.9583 GB, free: 428 kB / 0.7325 GB Notification: Performance of Causalize: time 0.0003846/0.008175, allocations: 401.7 kB / 0.9587 GB, free: 4 kB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.000315/0.008498, allocations: 412.5 kB / 0.9591 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of Inline: time 0.0005741/0.00908, allocations: 0.7132 MB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of Partitioning: time 3.75e-05/0.009126, allocations: 42.36 kB / 0.9598 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of Cleanup: time 2.969e-05/0.009161, allocations: 35.91 kB / 0.9598 GB, free: 14.74 MB / 0.7481 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.001358/0.01052, allocations: 1.427 MB / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of Tearing: time 1.169e-05/0.01055, allocations: 8 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of Initialization: time 3.11e-07/0.01055, allocations: 3.938 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of Tearing: time 4.057e-06/0.01056, allocations: 7.922 kB / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of Categorize: time 6.452e-06/0.01057, allocations: 0 / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of Solve: time 0.0001107/0.01068, allocations: 89.61 kB / 0.9613 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of Jacobian: time 0.0002006/0.01089, allocations: 302 kB / 0.9616 GB, free: 12.83 MB / 0.7481 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.182e-05/0.01093, allocations: 22.28 kB / 0.9616 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of SimCode: time 0.0009678/0.0119, allocations: 1.531 MB / 0.9631 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of Templates: time 0.003931/0.01584, allocations: 2.055 MB / 0.9651 GB, free: 9.203 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.makefile (rm -f Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; mkfifo Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe >> ../files/Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.sim & ./Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Actuators.Motors.Examples.IdealMotor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Actuators_Motors_Examples_IdealMotor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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