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.001506/0.001506, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001632/0.001632, allocations: 204.2 kB / 22.24 MB, free: 5.262 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.649/1.649, allocations: 230.6 MB / 256 MB, free: 7.809 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.605/3.605, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 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.002132/0.002132, allocations: 72.83 kB / 1.154 GB, free: 25.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4765/0.4786, allocations: 176.1 MB / 1.325 GB, free: 1.938 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004875/0.4835, allocations: 2.307 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.4852, allocations: 0.826 MB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.4853, allocations: 4 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006911/0.486, allocations: 147.4 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.4862, allocations: 67.66 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000196/0.4864, allocations: 67.8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002954/0.4867, allocations: 159.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003029/0.487, allocations: 85.05 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.4872, allocations: 71.77 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4874, allocations: 71.61 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.96e-05/0.4875, allocations: 8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.4876, allocations: 55.89 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.4877, allocations: 35.91 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.634e-05/0.4878, allocations: 51.73 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.4881, allocations: 187.3 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4881, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.605e-06/0.4881, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.4882, allocations: 0 / 1.33 GB, free: 13.79 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.0009369/0.4891, allocations: 429.2 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4891, allocations: 12.03 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000324/0.4895, allocations: 28.83 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.4898, allocations: 164.5 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.126e-05/0.4899, allocations: 67.72 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.4899, allocations: 15.98 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.4903, allocations: 174.7 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4903, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.4903, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.55e-05/0.4903, allocations: 4 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002488/0.4906, allocations: 125.5 kB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009639/0.4915, allocations: 0.5502 MB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.4918, allocations: 92.19 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4919, allocations: 54.61 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.4919, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.4922, allocations: 180.6 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4922, allocations: 0 / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0004808/0.4927, allocations: 218.6 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4928, allocations: 140.5 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002084/0.493, allocations: 186.9 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.4931, allocations: 29.7 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.4932, allocations: 143.7 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.4932, allocations: 27.78 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.4933, allocations: 41.7 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4935, allocations: 318.8 kB / 1.332 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.4936, allocations: 91.39 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.4938, allocations: 174.5 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.4941, allocations: 226.4 kB / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4941, allocations: 0 / 1.333 GB, free: 9.953 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004524/0.4946, allocations: 308.1 kB / 1.333 GB, free: 9.621 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.35e-05/0.4947, allocations: 68.73 kB / 1.333 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.4947, allocations: 4 kB / 1.333 GB, free: 9.539 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.4947, allocations: 4 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.4948, allocations: 31.92 kB / 1.333 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4948, allocations: 4 kB / 1.333 GB, free: 9.5 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001373/0.495, allocations: 32.19 kB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.495, allocations: 8 kB / 1.333 GB, free: 9.461 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.0001764/0.4952, allocations: 163.5 kB / 1.333 GB, free: 9.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.4952, allocations: 19.84 kB / 1.333 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.4952, allocations: 17.34 kB / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4952, allocations: 48 / 1.334 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.4952, allocations: 7.969 kB / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4952, allocations: 0 / 1.334 GB, free: 9.234 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.4954, allocations: 145.3 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4954, allocations: 3.938 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.54e-05/0.4955, allocations: 12 kB / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4955, allocations: 0 / 1.334 GB, free: 9.047 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.4955, allocations: 11.92 kB / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4955, allocations: 0 / 1.334 GB, free: 9.035 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4955, allocations: 3.938 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004797/0.496, allocations: 274.1 kB / 1.334 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.496, allocations: 19.91 kB / 1.334 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.4961, allocations: 7.938 kB / 1.334 GB, free: 8.699 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4962, allocations: 8 kB / 1.334 GB, free: 8.691 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.4962, allocations: 16.05 kB / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4962, allocations: 0 / 1.334 GB, free: 8.676 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001335/0.4964, allocations: 132.3 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4964, allocations: 0 / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002444/0.4966, allocations: 31.95 kB / 1.334 GB, free: 8.516 MB / 1.029 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.0001353/0.4967, allocations: 103.2 kB / 1.334 GB, free: 8.406 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.4972, allocations: 296.5 kB / 1.335 GB, free: 8.074 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4972, allocations: 4.188 kB / 1.335 GB, free: 8.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.4973, allocations: 125 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.4976, allocations: 15.98 kB / 1.335 GB, free: 7.914 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000666/0.4982, allocations: 332.2 kB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.4984, allocations: 102.3 kB / 1.335 GB, free: 7.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.416e-05/0.4985, allocations: 16.64 kB / 1.335 GB, free: 7.414 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.163e-05/0.4985, allocations: 15.44 kB / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4985, allocations: 0 / 1.335 GB, free: 7.398 MB / 1.029 GB Notification: Performance of Templates: time 0.00504/0.5036, allocations: 1.59 MB / 1.337 GB, free: 5.84 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/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.538363330066204]