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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002085/0.002085, allocations: 110 kB / 18.94 MB, free: 2.949 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002675/0.002675, allocations: 188.4 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.623/1.623, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.395/3.395, allocations: 0.4893 GB / 0.7884 GB, free: 33.16 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 67.8 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4498, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004684/0.4545, allocations: 2.373 MB / 1.318 GB, free: 7.328 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.0016/0.4561, allocations: 0.8064 MB / 1.319 GB, free: 6.516 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.4562, allocations: 7.938 kB / 1.319 GB, free: 6.508 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006751/0.4569, allocations: 147.4 kB / 1.319 GB, free: 6.363 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.4571, allocations: 71.64 kB / 1.319 GB, free: 6.293 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.4573, allocations: 55.83 kB / 1.319 GB, free: 6.238 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0004883/0.4578, allocations: 155.5 kB / 1.32 GB, free: 6.086 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002501/0.4581, allocations: 73.2 kB / 1.32 GB, free: 6.012 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.4582, allocations: 71.7 kB / 1.32 GB, free: 5.941 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.4584, allocations: 67.73 kB / 1.32 GB, free: 5.875 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.4584, allocations: 12 kB / 1.32 GB, free: 5.863 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.4586, allocations: 59.88 kB / 1.32 GB, free: 5.805 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 7.231e-05/0.4587, allocations: 39.84 kB / 1.32 GB, free: 5.766 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.4588, allocations: 71.61 kB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003613/0.4591, allocations: 171.3 kB / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4591, allocations: 0 / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.903e-06/0.4591, allocations: 0 / 1.32 GB, free: 5.527 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 6.642e-06/0.4591, allocations: 4 kB / 1.32 GB, free: 5.523 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0008756/0.46, allocations: 413.3 kB / 1.32 GB, free: 5.078 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.46, allocations: 12.02 kB / 1.32 GB, free: 5.066 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.4603, allocations: 28.84 kB / 1.32 GB, free: 5.039 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.4606, allocations: 159.7 kB / 1.321 GB, free: 4.859 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/0.4606, allocations: 38.45 kB / 1.321 GB, free: 4.816 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.4607, allocations: 20.11 kB / 1.321 GB, free: 4.797 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00043/0.4611, allocations: 149.2 kB / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4611, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.4611, allocations: 0 / 1.321 GB, free: 4.637 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4611, allocations: 15.94 kB / 1.321 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.4614, allocations: 93.62 kB / 1.321 GB, free: 4.531 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/0.4623, allocations: 0.6042 MB / 1.322 GB, free: 3.871 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002627/0.4626, allocations: 62.5 kB / 1.322 GB, free: 3.801 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.321e-05/0.4626, allocations: 28.84 kB / 1.322 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.656e-05/0.4627, allocations: 0 / 1.322 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.4629, allocations: 138.8 kB / 1.322 GB, free: 3.609 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4629, allocations: 0 / 1.322 GB, free: 3.609 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0003973/0.4633, allocations: 167.4 kB / 1.322 GB, free: 3.434 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.4634, allocations: 136.5 kB / 1.322 GB, free: 3.27 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.4636, allocations: 194.6 kB / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.4636, allocations: 29.7 kB / 1.322 GB, free: 3.035 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.4637, allocations: 140 kB / 1.322 GB, free: 2.891 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.4638, allocations: 23.83 kB / 1.322 GB, free: 2.867 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.669e-05/0.4638, allocations: 41.66 kB / 1.322 GB, free: 2.82 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001514/0.464, allocations: 322.8 kB / 1.323 GB, free: 2.496 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.504e-05/0.4641, allocations: 39.98 kB / 1.323 GB, free: 2.457 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.4643, allocations: 113.3 kB / 1.323 GB, free: 2.312 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003507/0.4646, allocations: 234.3 kB / 1.323 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4646, allocations: 0 / 1.323 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003786/0.465, allocations: 236.7 kB / 1.323 GB, free: 1.781 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 5.712e-05/0.465, allocations: 59.41 kB / 1.323 GB, free: 1.711 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.4651, allocations: 12.25 kB / 1.323 GB, free: 1.699 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4651, allocations: 4 kB / 1.323 GB, free: 1.695 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.4652, allocations: 31.98 kB / 1.323 GB, free: 1.664 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.4652, allocations: 12.23 kB / 1.323 GB, free: 1.652 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.4654, allocations: 15.89 kB / 1.323 GB, free: 1.637 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4654, allocations: 12 kB / 1.323 GB, free: 1.625 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 11
 * Number of states: 0 ()
 * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (18):
 * Single equations (assignments): 16
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0001774/0.4656, allocations: 163.5 kB / 1.324 GB, free: 1.449 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.4656, allocations: 15.91 kB / 1.324 GB, free: 1.434 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.4656, allocations: 25.33 kB / 1.324 GB, free: 1.398 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.4656, allocations: 3.938 kB / 1.324 GB, free: 1.395 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.4656, allocations: 0 / 1.324 GB, free: 1.395 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.4656, allocations: 0 / 1.324 GB, free: 1.395 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002637/0.4659, allocations: 184.6 kB / 1.324 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4659, allocations: 0 / 1.324 GB, free: 1.172 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.466, allocations: 16 kB / 1.324 GB, free: 1.156 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.466, allocations: 3.984 kB / 1.324 GB, free: 1.152 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.466, allocations: 3.938 kB / 1.324 GB, free: 1.148 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.466, allocations: 0 / 1.324 GB, free: 1.148 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.466, allocations: 4 kB / 1.324 GB, free: 1.145 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.4665, allocations: 222.7 kB / 1.324 GB, free: 0.9023 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.532e-05/0.4665, allocations: 7.984 kB / 1.324 GB, free: 0.8945 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.935e-05/0.4665, allocations: 3.938 kB / 1.324 GB, free: 0.8906 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.88e-05/0.4666, allocations: 15.98 kB / 1.324 GB, free: 0.875 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.4667, allocations: 15.92 kB / 1.324 GB, free: 0.8594 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.4667, allocations: 8.062 kB / 1.324 GB, free: 0.8516 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001501/0.4669, allocations: 128.3 kB / 1.324 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.4669, allocations: 0 / 1.324 GB, free: 0.7266 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002444/0.4671, allocations: 31.95 kB / 1.324 GB, free: 0.6953 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (voltageControl.y)
 * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch)
 * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 1
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001242/0.4672, allocations: 111.2 kB / 1.324 GB, free: 0.5781 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003729/0.4676, allocations: 207.1 kB / 1.325 GB, free: 360 kB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4676, allocations: 4.188 kB / 1.325 GB, free: 356 kB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4677, allocations: 87.39 kB / 1.325 GB, free: 256 kB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.468, allocations: 17.7 kB / 1.325 GB, free: 240 kB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.4686, allocations: 294.5 kB / 1.325 GB, free: 15.92 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.4691, allocations: 0.7197 MB / 1.326 GB, free: 15.18 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 6.723e-05/0.4692, allocations: 16.62 kB / 1.326 GB, free: 15.16 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.615e-05/0.4692, allocations: 19.44 kB / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of SimCode: time 2.9e-07/0.4692, allocations: 0 / 1.326 GB, free: 15.14 MB / 1.029 GB
Notification: Performance of Templates: time 0.005165/0.4744, allocations: 1.508 MB / 1.327 GB, free: 13.65 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 800]
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) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.142479771748185]