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 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.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.001093/0.001093, 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.001026/0.001026, allocations: 183.2 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.14/1.14, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.219/2.219, allocations: 472.6 MB / 0.7459 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.532e-05/1.534e-05, allocations: 6.219 kB / 1.07 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002827/0.00285, allocations: 2.32 MB / 1.072 GB, free: 7.395 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.003917, allocations: 0.7714 MB / 1.073 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.004001, allocations: 0 / 1.073 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.004472, allocations: 155.4 kB / 1.073 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.004631, allocations: 63.67 kB / 1.073 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.004783, allocations: 55.8 kB / 1.073 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.005006, allocations: 183.5 kB / 1.073 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.005197, allocations: 81 kB / 1.074 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.005309, allocations: 63.77 kB / 1.074 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.005422, allocations: 63.75 kB / 1.074 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.005451, allocations: 12 kB / 1.074 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.158e-05/0.005538, allocations: 47.78 kB / 1.074 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001426/0.005687, allocations: 201.9 kB / 1.074 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 6.932e-05/0.005762, allocations: 134.1 kB / 1.074 GB, free: 5.574 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.005799, allocations: 15.94 kB / 1.074 GB, free: 5.559 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.819e-05/0.005821, allocations: 4 kB / 1.074 GB, free: 5.555 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: 24 (19) * Number of variables: 24 (19) Notification: Performance of Bindings: time 0.0006058/0.006431, allocations: 0.6706 MB / 1.075 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 6.665e-05/0.006503, allocations: 43.84 kB / 1.075 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0003088/0.006818, allocations: 356.1 kB / 1.075 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of simplify1: time 2.375e-05/0.00685, allocations: 15.98 kB / 1.075 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of Alias: time 0.0005153/0.00737, allocations: 447.5 kB / 1.076 GB, free: 3.832 MB / 0.8419 GB Notification: Performance of simplify2: time 1.852e-05/0.007398, allocations: 11.98 kB / 1.076 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001341/0.007537, allocations: 112 kB / 1.076 GB, free: 3.695 MB / 0.8419 GB Notification: Performance of Events: time 8.316e-05/0.007627, allocations: 51.83 kB / 1.076 GB, free: 3.645 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.645e-05/0.00773, allocations: 88.09 kB / 1.076 GB, free: 3.551 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0004164/0.008152, allocations: 388.3 kB / 1.076 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0002025/0.008363, allocations: 256.2 kB / 1.076 GB, free: 2.895 MB / 0.8419 GB Notification: Performance of Inline: time 0.0004236/0.008793, allocations: 489.8 kB / 1.077 GB, free: 2.383 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.859e-05/0.00883, allocations: 32.09 kB / 1.077 GB, free: 2.344 MB / 0.8419 GB Notification: Performance of Cleanup: time 2.152e-05/0.008857, allocations: 19.98 kB / 1.077 GB, free: 2.324 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0005593/0.00942, allocations: 0.5369 MB / 1.077 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of Tearing: time 7.283e-06/0.009438, allocations: 4 kB / 1.077 GB, free: 1.785 MB / 0.8419 GB Notification: Performance of Initialization: time 4.01e-07/0.009443, allocations: 4 kB / 1.077 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of Tearing: time 1.974e-06/0.009449, allocations: 0 / 1.077 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of Categorize: time 5.65e-06/0.009458, allocations: 0 / 1.077 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001705/0.009632, allocations: 120.6 kB / 1.078 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0002954/0.009936, allocations: 373.8 kB / 1.078 GB, free: 1.246 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.214e-05/0.009976, allocations: 29.08 kB / 1.078 GB, free: 1.219 MB / 0.8419 GB Notification: Performance of SimCode: time 0.4049/0.4149, allocations: 1.256 MB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of Templates: time 0.003733/0.4186, allocations: 1.312 MB / 1.08 GB, free: 14.18 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