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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 99.78 kB / 19.71 MB, free: 2.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 213.1 kB / 23.01 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.444/3.444, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 74.5 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4817, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004922/0.4866, allocations: 2.319 MB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.4883, allocations: 0.8143 MB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.4884, allocations: 7.938 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007097/0.4891, allocations: 147.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.4893, allocations: 67.59 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.4895, allocations: 67.86 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.4898, allocations: 155.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003163/0.4901, allocations: 94.98 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.4903, allocations: 71.77 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001921/0.4905, allocations: 71.67 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.4906, allocations: 12 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.4907, allocations: 51.89 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.361e-05/0.4908, allocations: 35.91 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.4909, allocations: 59.72 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003233/0.4912, allocations: 183.3 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4912, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4912, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.4912, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 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.0008849/0.4921, allocations: 425.2 kB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.4921, allocations: 12.02 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003422/0.4925, allocations: 36.83 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.4928, allocations: 159.9 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.076e-05/0.4928, allocations: 67.72 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.4929, allocations: 12 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.4932, allocations: 180.5 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4932, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.4933, allocations: 8 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.01e-05/0.4933, allocations: 7.938 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000231/0.4935, allocations: 121.5 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008976/0.4944, allocations: 0.5503 MB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003025/0.4947, allocations: 92.25 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/0.4948, allocations: 54.55 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.4948, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002704/0.4951, allocations: 172.6 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.4951, allocations: 0 / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000486/0.4956, allocations: 226.6 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.4957, allocations: 140.5 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.4959, allocations: 190.9 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.4959, allocations: 25.7 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.4961, allocations: 143.7 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.96e-05/0.4961, allocations: 23.78 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.894e-05/0.4962, allocations: 33.72 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4963, allocations: 330.8 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.4965, allocations: 91.39 kB / 1.334 GB, free: 9.523 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.4966, allocations: 162.7 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.497, allocations: 238.3 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.497, allocations: 0 / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004252/0.4974, allocations: 300.1 kB / 1.335 GB, free: 8.711 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.309e-05/0.4975, allocations: 67.39 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.4975, allocations: 7.938 kB / 1.335 GB, free: 8.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4975, allocations: 8.031 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.4976, allocations: 27.98 kB / 1.335 GB, free: 8.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.4976, allocations: 7.938 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/0.4978, allocations: 24.19 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.4978, allocations: 15.94 kB / 1.335 GB, free: 8.543 MB / 1.029 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.00017/0.498, allocations: 161.8 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.498, allocations: 15.91 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.498, allocations: 21.28 kB / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.498, allocations: 0 / 1.335 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.4981, allocations: 4 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.517e-05/0.4981, allocations: 11.94 kB / 1.335 GB, free: 8.309 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.364e-05/0.4981, allocations: 11.94 kB / 1.335 GB, free: 8.297 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.803e-05/0.4982, allocations: 11.98 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.4983, allocations: 8 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004908/0.4988, allocations: 316 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000565/0.4993, allocations: 427.7 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001245/0.4995, allocations: 69.64 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001085/0.4996, allocations: 128.3 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of Backend: time 6.41e-07/0.4996, allocations: 0 / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007875/0.5004, allocations: 352.5 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of SimCode: time 0.0009847/0.5013, allocations: 0.7878 MB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of Templates: time 0.006291/0.5076, allocations: 2.021 MB / 1.339 GB, free: 4.051 MB / 1.029 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/jenkins1/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: 9.918317590003426]