Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.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.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 113.3 kB / 16.42 MB, free: 6.477 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.001063/0.001063, allocations: 187.2 kB / 17.35 MB, free: 5.711 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.214/2.214, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067e-05/1.068e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002769/0.002787, allocations: 2.312 MB / 1.057 GB, free: 5.465 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003814, allocations: 0.783 MB / 1.058 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.00389, allocations: 4 kB / 1.058 GB, free: 4.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.004362, allocations: 147.4 kB / 1.058 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.00451, allocations: 71.66 kB / 1.058 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001261/0.004648, allocations: 55.81 kB / 1.058 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.004867, allocations: 179.5 kB / 1.058 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.005059, allocations: 77.06 kB / 1.058 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005177, allocations: 67.7 kB / 1.058 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.005289, allocations: 59.75 kB / 1.058 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.005317, allocations: 16 kB / 1.058 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.069e-05/0.005403, allocations: 39.91 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001367/0.005546, allocations: 205.8 kB / 1.059 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 6.495e-05/0.005617, allocations: 130.2 kB / 1.059 GB, free: 3.641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.123e-05/0.005653, allocations: 19.94 kB / 1.059 GB, free: 3.621 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.413e-05/0.005671, allocations: 4 kB / 1.059 GB, free: 3.617 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: 24 (19) * Number of variables: 24 (19) Notification: Performance of Bindings: time 0.0005903/0.006265, allocations: 0.6667 MB / 1.059 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 6.216e-05/0.006333, allocations: 47.83 kB / 1.059 GB, free: 2.801 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0002982/0.006638, allocations: 356.1 kB / 1.06 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of simplify1: time 2.411e-05/0.006669, allocations: 11.98 kB / 1.06 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of Alias: time 0.00049/0.007165, allocations: 451.4 kB / 1.06 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of simplify2: time 1.65e-05/0.007192, allocations: 11.98 kB / 1.06 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of Events: time 8.752e-05/0.007284, allocations: 59.88 kB / 1.06 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001278/0.007419, allocations: 100.2 kB / 1.06 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001025/0.007529, allocations: 92.08 kB / 1.06 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0004218/0.007957, allocations: 387.8 kB / 1.061 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0002119/0.008177, allocations: 256.2 kB / 1.061 GB, free: 0.9531 MB / 0.8262 GB Notification: Performance of Inline: time 0.0003987/0.008584, allocations: 493.7 kB / 1.061 GB, free: 448 kB / 0.8262 GB Notification: Performance of Partitioning: time 2.524e-05/0.008619, allocations: 28.12 kB / 1.061 GB, free: 412 kB / 0.8262 GB Notification: Performance of Cleanup: time 1.823e-05/0.008643, allocations: 19.98 kB / 1.062 GB, free: 392 kB / 0.8262 GB Notification: Performance of Causalize: time 0.0005504/0.009198, allocations: 0.542 MB / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Tearing: time 6.292e-06/0.009213, allocations: 0 / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Initialization: time 3.11e-07/0.009219, allocations: 4 kB / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Tearing: time 1.142e-06/0.009225, allocations: 4 kB / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Categorize: time 4.689e-06/0.009234, allocations: 0 / 1.062 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001675/0.009405, allocations: 112.7 kB / 1.062 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0002966/0.009711, allocations: 369.9 kB / 1.063 GB, free: 15.31 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: ......... 0 * 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) {voltageControl.y} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 3 (3) {voltageControl.ctrl.connected, voltageControl.ctrl.tSwitch, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 11 (scalar:8, array:3, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, 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: ........... 18 (scalar:15, array:3, record:0) * Number of multi strong components: ............ 2 (algorithm:1, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 1 (generic: 1, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.119e-05/0.009751, allocations: 28.23 kB / 1.063 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008194/0.01058, allocations: 1.247 MB / 1.064 GB, free: 14 MB / 0.8419 GB Notification: Performance of Templates: time 0.003266/0.01385, allocations: 1.325 MB / 1.065 GB, free: 12.69 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,voltageControl.V_nominal,sou.V_in,Vtr_high.y,voltageControl.y Variables in the result:Vtr_high.k,Vtr_high.y,cosine.amplitude,cosine.f,cosine.offset,cosine.phase,cosine.startTime,cosine.y,ground.p.v,sou.V,sou.V_in,sou.definiteReference,sou.n.v,sou.phi,sou.potentialReference,sou.use_V_in,time,voltageControl.T,voltageControl.V_nominal,voltageControl.Vmax,voltageControl.Vmin,voltageControl.ctrl.V_nominal,voltageControl.ctrl.tDelay,voltageControl.ctrl.vThresh,voltageControl.tDelay,voltageControl.vThresh,voltageControl.y,voltageControl.y_start