Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.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_9_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_9_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.001108/0.001109, allocations: 112.1 kB / 16.43 MB, free: 6.5 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.001052/0.001052, allocations: 183.2 kB / 17.35 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.14 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.869/1.869, allocations: 390.2 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/9.187e-06, allocations: 4.672 kB / 0.9514 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002685/0.002703, allocations: 2.317 MB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009592/0.003673, allocations: 0.7753 MB / 0.9544 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.161e-05/0.003744, allocations: 4 kB / 0.9544 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004253/0.004175, allocations: 151.3 kB / 0.9546 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.004324, allocations: 59.61 kB / 0.9546 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001189/0.004452, allocations: 59.88 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.004652, allocations: 175.5 kB / 0.9549 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.004834, allocations: 89 kB / 0.9549 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.398e-05/0.004935, allocations: 75.7 kB / 0.955 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.316e-05/0.005036, allocations: 67.67 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.005062, allocations: 8 kB / 0.9551 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.693e-05/0.005133, allocations: 39.92 kB / 0.9551 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001386/0.005278, allocations: 205.7 kB / 0.9553 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.891e-05/0.005344, allocations: 126.3 kB / 0.9554 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.005379, allocations: 23.94 kB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.554e-05/0.005399, allocations: 7.938 kB / 0.9555 GB, free: 3.555 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: 24 (19) * Number of variables: 24 (19) Notification: Performance of Bindings: time 0.0005715/0.005975, allocations: 0.6588 MB / 0.9561 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.879e-05/0.006039, allocations: 39.84 kB / 0.9562 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002814/0.006328, allocations: 360.1 kB / 0.9565 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of simplify1: time 2.603e-05/0.006362, allocations: 19.97 kB / 0.9565 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of Alias: time 0.000466/0.006833, allocations: 451.4 kB / 0.957 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of simplify2: time 1.378e-05/0.006856, allocations: 8 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001166/0.006977, allocations: 101.8 kB / 0.9571 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of Events: time 7.972e-05/0.007064, allocations: 51.89 kB / 0.9571 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of Partitioning: time 8.656e-05/0.007157, allocations: 88.08 kB / 0.9572 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003937/0.007557, allocations: 398.5 kB / 0.9576 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001872/0.007752, allocations: 248.2 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of Inline: time 0.00038/0.008138, allocations: 485.9 kB / 0.9583 GB, free: 416 kB / 0.7325 GB Notification: Performance of Partitioning: time 2.633e-05/0.008173, allocations: 32.11 kB / 0.9583 GB, free: 376 kB / 0.7325 GB Notification: Performance of Cleanup: time 1.691e-05/0.008196, allocations: 23.91 kB / 0.9583 GB, free: 352 kB / 0.7325 GB Notification: Performance of Causalize: time 0.0005241/0.008724, allocations: 0.5395 MB / 0.9588 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Tearing: time 6.602e-06/0.00874, allocations: 3.938 kB / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Initialization: time 2.81e-07/0.008744, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Tearing: time 1.322e-06/0.00875, allocations: 0 / 0.9589 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of Categorize: time 6.893e-06/0.00876, allocations: 7.938 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of Solve: time 0.0001521/0.008917, allocations: 120.3 kB / 0.959 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of Jacobian: time 0.0002733/0.0092, allocations: 370.3 kB / 0.9593 GB, free: 15.26 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: ......... 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 2.396e-05/0.009232, allocations: 17.81 kB / 0.9593 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of SimCode: time 0.0007517/0.009988, allocations: 1.265 MB / 0.9606 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of Templates: time 0.003021/0.01302, allocations: 1.318 MB / 0.9619 GB, free: 12.64 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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