Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001669/0.001669, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001802/0.001802, allocations: 190.7 kB / 22.1 MB, free: 4.305 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.59/1.59, allocations: 225.6 MB / 250.8 MB, free: 2.906 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.224/3.224, allocations: 495.8 MB / 0.783 GB, free: 12.25 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-maint.12.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=2500,variableFilter="time|voltageControl.V_nominal|sou.V_in|Vtr_high.y|voltageControl.y",fileNamePrefix="Buildings_12_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_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002224/0.002224, allocations: 67.88 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.334/1.336, allocations: 173.6 MB / 1.307 GB, free: 33.71 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003859/1.34, allocations: 2.381 MB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.001214/1.341, allocations: 0.802 MB / 1.31 GB, free: 31.56 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/1.341, allocations: 2.625 kB / 1.31 GB, free: 31.56 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0006649/1.342, allocations: 161.1 kB / 1.31 GB, free: 31.46 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001733/1.342, allocations: 61.28 kB / 1.31 GB, free: 31.43 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001569/1.342, allocations: 54 kB / 1.31 GB, free: 31.4 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.000221/1.343, allocations: 159.9 kB / 1.31 GB, free: 31.32 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/1.343, allocations: 75.8 kB / 1.31 GB, free: 31.29 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/1.343, allocations: 68.12 kB / 1.31 GB, free: 31.26 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00015/1.343, allocations: 70.3 kB / 1.31 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 2.736e-05/1.343, allocations: 15.41 kB / 1.31 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/1.343, allocations: 50.19 kB / 1.31 GB, free: 31.21 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 5.725e-05/1.343, allocations: 33.45 kB / 1.311 GB, free: 31.2 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 7.368e-05/1.343, allocations: 71.89 kB / 1.311 GB, free: 31.15 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002387/1.344, allocations: 168.9 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.344, allocations: 4 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.342e-06/1.344, allocations: 0 / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.991e-06/1.344, allocations: 0 / 1.311 GB, free: 31.09 MB / 1.061 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.0006844/1.344, allocations: 416 kB / 1.311 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/1.344, allocations: 13.22 kB / 1.311 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/1.345, allocations: 26.3 kB / 1.311 GB, free: 30.69 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/1.345, allocations: 167.6 kB / 1.311 GB, free: 30.53 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/1.345, allocations: 36.14 kB / 1.311 GB, free: 30.49 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/1.345, allocations: 14.19 kB / 1.311 GB, free: 30.48 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/1.345, allocations: 150.9 kB / 1.312 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/1.345, allocations: 7.938 kB / 1.312 GB, free: 30.39 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/1.345, allocations: 4 kB / 1.312 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.127e-05/1.345, allocations: 5.312 kB / 1.312 GB, free: 30.38 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/1.345, allocations: 86.7 kB / 1.312 GB, free: 30.36 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007639/1.346, allocations: 0.6082 MB / 1.312 GB, free: 29.83 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/1.346, allocations: 52.81 kB / 1.312 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.34e-05/1.346, allocations: 30.55 kB / 1.312 GB, free: 29.78 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/1.346, allocations: 0 / 1.312 GB, free: 29.78 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000193/1.347, allocations: 148.4 kB / 1.312 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=7): time 1.162e-06/1.347, allocations: 0 / 1.312 GB, free: 29.65 MB / 1.061 GB
Notification: Performance of matching and sorting (n=7): time 0.0003887/1.347, allocations: 160.5 kB / 1.313 GB, free: 29.55 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.347, allocations: 134.3 kB / 1.313 GB, free: 29.4 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/1.347, allocations: 191.7 kB / 1.313 GB, free: 29.26 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 1.436e-05/1.347, allocations: 28.55 kB / 1.313 GB, free: 29.23 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 7.633e-05/1.347, allocations: 136.1 kB / 1.313 GB, free: 29.1 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.347, allocations: 18.25 kB / 1.313 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/1.347, allocations: 47.52 kB / 1.313 GB, free: 29.05 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 7.41e-05/1.347, allocations: 328.9 kB / 1.313 GB, free: 28.73 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.743e-05/1.348, allocations: 35.08 kB / 1.313 GB, free: 28.72 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/1.348, allocations: 117.1 kB / 1.314 GB, free: 28.62 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/1.348, allocations: 224.7 kB / 1.314 GB, free: 28.39 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.348, allocations: 2.781 kB / 1.314 GB, free: 28.39 MB / 1.061 GB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003177/1.348, allocations: 250.6 kB / 1.314 GB, free: 28.24 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/1.348, allocations: 60.48 kB / 1.314 GB, free: 28.18 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.348, allocations: 6.906 kB / 1.314 GB, free: 28.17 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.904e-05/1.348, allocations: 3 kB / 1.314 GB, free: 28.17 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/1.348, allocations: 34.44 kB / 1.314 GB, free: 28.16 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/1.348, allocations: 10.84 kB / 1.314 GB, free: 28.16 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/1.349, allocations: 25.61 kB / 1.314 GB, free: 28.15 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/1.349, allocations: 6.219 kB / 1.314 GB, free: 28.15 MB / 1.061 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.0001126/1.349, allocations: 179.3 kB / 1.314 GB, free: 27.98 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/1.349, allocations: 13.53 kB / 1.314 GB, free: 27.97 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/1.349, allocations: 22.28 kB / 1.314 GB, free: 27.95 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/1.349, allocations: 0 / 1.314 GB, free: 27.95 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/1.349, allocations: 0 / 1.314 GB, free: 27.95 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/1.349, allocations: 0 / 1.314 GB, free: 27.95 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/1.349, allocations: 185 kB / 1.315 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/1.349, allocations: 3.938 kB / 1.315 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.652e-05/1.349, allocations: 13.95 kB / 1.315 GB, free: 27.77 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/1.349, allocations: 4 kB / 1.315 GB, free: 27.76 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/1.349, allocations: 10.69 kB / 1.315 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.349, allocations: 0 / 1.315 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/1.349, allocations: 0 / 1.315 GB, free: 27.75 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003456/1.349, allocations: 213.2 kB / 1.315 GB, free: 27.61 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.739e-05/1.349, allocations: 6.453 kB / 1.315 GB, free: 27.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/1.349, allocations: 6.562 kB / 1.315 GB, free: 27.61 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.904e-05/1.349, allocations: 13.12 kB / 1.315 GB, free: 27.6 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/1.35, allocations: 13.17 kB / 1.315 GB, free: 27.6 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/1.35, allocations: 0 / 1.315 GB, free: 27.6 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 7.956e-05/1.35, allocations: 131.9 kB / 1.315 GB, free: 27.51 MB / 1.061 GB
Notification: Performance of sort global known variables: time 8e-08/1.35, allocations: 0 / 1.315 GB, free: 27.51 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0002306/1.35, allocations: 34.23 kB / 1.315 GB, free: 27.5 MB / 1.061 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 8.713e-05/1.35, allocations: 108.5 kB / 1.315 GB, free: 27.41 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002858/1.35, allocations: 211.6 kB / 1.315 GB, free: 27.25 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.794e-06/1.35, allocations: 0 / 1.315 GB, free: 27.25 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 9.542e-05/1.35, allocations: 90.61 kB / 1.315 GB, free: 27.17 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002201/1.351, allocations: 20.55 kB / 1.315 GB, free: 27.16 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005322/1.351, allocations: 299.7 kB / 1.316 GB, free: 26.96 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/1.351, allocations: 0.7145 MB / 1.316 GB, free: 26.26 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 6.387e-05/1.351, allocations: 23.06 kB / 1.316 GB, free: 26.25 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/1.351, allocations: 13.34 kB / 1.316 GB, free: 26.25 MB / 1.061 GB
Notification: Performance of SimCode: time 3.91e-07/1.351, allocations: 3.938 kB / 1.316 GB, free: 26.25 MB / 1.061 GB
Notification: Performance of Templates: time 0.004492/1.356, allocations: 1.509 MB / 1.318 GB, free: 26.09 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.61296188365668]