Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.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_11_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_11_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.001083/0.001083, 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.001081/0.001081, 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.144/1.144, allocations: 222.9 MB / 241.1 MB, free: 15.13 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.226/2.226, allocations: 469.8 MB / 0.7432 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.419e-05, allocations: 6.219 kB / 1.066 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002897/0.002919, allocations: 2.31 MB / 1.068 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.003976, allocations: 0.7753 MB / 1.069 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.871e-05/0.004056, allocations: 8 kB / 1.069 GB, free: 10.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004763/0.004539, allocations: 151.3 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.004692, allocations: 63.67 kB / 1.069 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001272/0.004827, allocations: 55.8 kB / 1.069 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002223/0.005064, allocations: 183.5 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.005242, allocations: 53.03 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.00535, allocations: 71.7 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.005465, allocations: 59.75 kB / 1.069 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.005493, allocations: 8 kB / 1.069 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.463e-05/0.005582, allocations: 43.91 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001564/0.005745, allocations: 205.7 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 7.111e-05/0.005823, allocations: 138.1 kB / 1.07 GB, free: 9.512 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.087e-05/0.005859, allocations: 19.94 kB / 1.07 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.246e-05/0.005876, allocations: 0 / 1.07 GB, free: 9.492 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.000568/0.006449, allocations: 0.5457 MB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.335e-05/0.00653, allocations: 43.8 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0002695/0.006806, allocations: 272.2 kB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of simplify1: time 6.486e-05/0.006879, allocations: 76.33 kB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of Alias: time 0.0004352/0.00732, allocations: 315.1 kB / 1.071 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of simplify2: time 5.222e-05/0.007382, allocations: 60.78 kB / 1.071 GB, free: 7.934 MB / 0.8419 GB Notification: Performance of Detect States: time 0.000125/0.007513, allocations: 80.11 kB / 1.071 GB, free: 7.84 MB / 0.8419 GB Notification: Performance of Events: time 8.365e-05/0.007604, allocations: 55.88 kB / 1.071 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of Partitioning: time 7.366e-05/0.007684, allocations: 56.09 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003732/0.008064, allocations: 298.5 kB / 1.072 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001621/0.008235, allocations: 192.2 kB / 1.072 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of Inline: time 0.0003578/0.008599, allocations: 385.8 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.884e-05/0.008627, allocations: 16.11 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of Cleanup: time 5.373e-05/0.008685, allocations: 55.95 kB / 1.072 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000459/0.00915, allocations: 406.8 kB / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of Tearing: time 7.725e-06/0.009167, allocations: 0 / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of Initialization: time 3.01e-07/0.009171, allocations: 0 / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of Tearing: time 2.775e-06/0.009178, allocations: 3.984 kB / 1.073 GB, free: 6.328 MB / 0.8419 GB Notification: Performance of Categorize: time 5.971e-06/0.00919, allocations: 4 kB / 1.073 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of Solve: time 0.0001634/0.009357, allocations: 108.2 kB / 1.073 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of Jacobian: time 0.0002634/0.00963, allocations: 314.4 kB / 1.073 GB, free: 5.859 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.904e-05/0.009677, allocations: 29.89 kB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0008846/0.01057, allocations: 1.259 MB / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of Templates: time 0.003346/0.01392, allocations: 1.328 MB / 1.075 GB, free: 3.211 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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