Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001656/0.001656, allocations: 110 kB / 18.93 MB, free: 2.945 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.002023/0.002023, allocations: 186.2 kB / 22.23 MB, free: 5.16 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.542/1.542, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.915/2.915, allocations: 476.7 MB / 0.7646 GB, free: 9.844 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 66.69 kB / 1.109 GB, free: 11.88 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.491, allocations: 168.8 MB / 1.274 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005215/0.4962, allocations: 2.366 MB / 1.277 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001915/0.4981, allocations: 0.8026 MB / 1.277 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.4984, allocations: 7.938 kB / 1.277 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009005/0.4993, allocations: 155.3 kB / 1.278 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.4996, allocations: 71.59 kB / 1.278 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.4999, allocations: 55.88 kB / 1.278 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.5003, allocations: 151.5 kB / 1.278 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003133/0.5006, allocations: 77.17 kB / 1.278 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.5008, allocations: 71.7 kB / 1.278 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002675/0.5011, allocations: 75.67 kB / 1.278 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.5011, allocations: 12 kB / 1.278 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001785/0.5013, allocations: 51.89 kB / 1.278 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.587e-05/0.5014, allocations: 43.83 kB / 1.278 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.5015, allocations: 63.67 kB / 1.278 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003847/0.5019, allocations: 167.4 kB / 1.278 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5019, allocations: 3.938 kB / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5019, allocations: 0 / 1.278 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.5019, allocations: 0 / 1.278 GB, free: 6.762 MB / 0.9825 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.0009906/0.5029, allocations: 421.2 kB / 1.279 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.5029, allocations: 8.031 kB / 1.279 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002845/0.5032, allocations: 32.83 kB / 1.279 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.5035, allocations: 150.3 kB / 1.279 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.343e-05/0.5036, allocations: 42.45 kB / 1.279 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.5036, allocations: 16.12 kB / 1.279 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.504, allocations: 153.3 kB / 1.279 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.504, allocations: 0 / 1.279 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.504, allocations: 0 / 1.279 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.504, allocations: 4 kB / 1.279 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002174/0.5042, allocations: 91.95 kB / 1.279 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.5052, allocations: 0.6042 MB / 1.28 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.5055, allocations: 66.48 kB / 1.28 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.5056, allocations: 20.91 kB / 1.28 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.5056, allocations: 8 kB / 1.28 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.5058, allocations: 143.6 kB / 1.28 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.5058, allocations: 0 / 1.28 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.5063, allocations: 163.4 kB / 1.28 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001204/0.5064, allocations: 144.5 kB / 1.28 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.5066, allocations: 187.4 kB / 1.281 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.5066, allocations: 29.7 kB / 1.281 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5067, allocations: 136.1 kB / 1.281 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.5068, allocations: 23.83 kB / 1.281 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.5068, allocations: 41.66 kB / 1.281 GB, free: 4.066 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.507, allocations: 322.8 kB / 1.281 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.5071, allocations: 39.98 kB / 1.281 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.5073, allocations: 107.8 kB / 1.281 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003156/0.5076, allocations: 242.3 kB / 1.281 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.5076, allocations: 0 / 1.281 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004219/0.508, allocations: 240.7 kB / 1.282 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.5081, allocations: 63.41 kB / 1.282 GB, free: 2.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5081, allocations: 8.25 kB / 1.282 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5081, allocations: 8 kB / 1.282 GB, free: 2.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.5082, allocations: 31.92 kB / 1.282 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.794e-06/0.5082, allocations: 0 / 1.282 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001562/0.5084, allocations: 23.88 kB / 1.282 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.5084, allocations: 12 kB / 1.282 GB, free: 2.867 MB / 0.9825 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.0002048/0.5086, allocations: 163.5 kB / 1.282 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.523e-05/0.5087, allocations: 19.94 kB / 1.282 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.987e-05/0.5087, allocations: 29.27 kB / 1.282 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.5087, allocations: 0 / 1.282 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5087, allocations: 0 / 1.282 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.5087, allocations: 0 / 1.282 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.5089, allocations: 188.6 kB / 1.282 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5089, allocations: 0 / 1.282 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.587e-05/0.509, allocations: 8 kB / 1.282 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.509, allocations: 4 kB / 1.282 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.509, allocations: 7.922 kB / 1.282 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5091, allocations: 320 / 1.282 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5091, allocations: 0 / 1.282 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.5095, allocations: 226.6 kB / 1.282 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.5095, allocations: 11.98 kB / 1.282 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.5096, allocations: 3.938 kB / 1.282 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.454e-05/0.5097, allocations: 11.98 kB / 1.282 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.5097, allocations: 8 kB / 1.282 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.5097, allocations: 7.984 kB / 1.282 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001362/0.5099, allocations: 131.3 kB / 1.283 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5099, allocations: 0 / 1.283 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002872/0.5102, allocations: 31.95 kB / 1.283 GB, free: 1.941 MB / 0.9825 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.0001349/0.5103, allocations: 103.2 kB / 1.283 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003672/0.5107, allocations: 211.2 kB / 1.283 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5107, allocations: 0 / 1.283 GB, free: 1.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.5108, allocations: 91.39 kB / 1.283 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.511, allocations: 25.8 kB / 1.283 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007163/0.5118, allocations: 302.5 kB / 1.283 GB, free: 1.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003737/0.5121, allocations: 0.7158 MB / 1.284 GB, free: 420 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.273e-05/0.5122, allocations: 12.64 kB / 1.284 GB, free: 408 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/0.5122, allocations: 19.42 kB / 1.284 GB, free: 388 kB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.5122, allocations: 0 / 1.284 GB, free: 388 kB / 0.9825 GB Notification: Performance of Templates: time 0.005571/0.5178, allocations: 1.515 MB / 1.286 GB, free: 14.88 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_Utilities_Examples_TestVoltageCTRL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.213402026332915]