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.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.001621/0.001621, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002027/0.002027, allocations: 217.6 kB / 23.01 MB, free: 4.566 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.445/1.445, allocations: 230.6 MB / 256.8 MB, free: 8.031 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.758/2.758, allocations: 476.7 MB / 0.7714 GB, free: 4.336 MB / 0.6231 GB " [Timeout remaining time 177] 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.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_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: 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.002082/0.002082, allocations: 70.25 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 170 MB / 1.285 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.005258/0.3552, allocations: 2.4 MB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.3572, allocations: 0.8843 MB / 1.288 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3573, allocations: 4 kB / 1.288 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008266/0.3582, allocations: 159.2 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.3584, allocations: 55.67 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.3586, allocations: 71.8 kB / 1.288 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.3589, allocations: 151.5 kB / 1.288 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.3592, allocations: 89.17 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.3594, allocations: 83.64 kB / 1.288 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.3595, allocations: 71.73 kB / 1.288 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.3596, allocations: 12 kB / 1.288 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3597, allocations: 59.88 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.3598, allocations: 39.84 kB / 1.289 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.3599, allocations: 63.67 kB / 1.289 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.3602, allocations: 179.3 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3602, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3602, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3602, allocations: 4 kB / 1.289 GB, free: 7.004 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.0009062/0.3611, allocations: 431.3 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/0.3612, allocations: 8.031 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003284/0.3615, allocations: 32.83 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.3618, allocations: 165 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.3619, allocations: 63.72 kB / 1.289 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.362, allocations: 15.98 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.3623, allocations: 144.2 kB / 1.29 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3623, allocations: 4 kB / 1.29 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3623, allocations: 4 kB / 1.29 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.039e-05/0.3623, allocations: 4 kB / 1.29 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.3625, allocations: 91.81 kB / 1.29 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009147/0.3634, allocations: 0.6082 MB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.3637, allocations: 46.56 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.674e-05/0.3638, allocations: 28.91 kB / 1.29 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.3638, allocations: 7.938 kB / 1.29 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.364, allocations: 142.9 kB / 1.291 GB, free: 5.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 3.256e-06/0.364, allocations: 7.984 kB / 1.291 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003959/0.3644, allocations: 159.3 kB / 1.291 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.518e-05/0.3645, allocations: 132.5 kB / 1.291 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.3647, allocations: 187.2 kB / 1.291 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.3648, allocations: 33.7 kB / 1.291 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.3649, allocations: 147.9 kB / 1.291 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.3649, allocations: 27.73 kB / 1.291 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.365, allocations: 41.66 kB / 1.291 GB, free: 4.25 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000213/0.3652, allocations: 322.8 kB / 1.292 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.3653, allocations: 39.97 kB / 1.292 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.3655, allocations: 109.4 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.3658, allocations: 226.4 kB / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3658, allocations: 0 / 1.292 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003703/0.3662, allocations: 244.7 kB / 1.292 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.507e-05/0.3663, allocations: 67.33 kB / 1.292 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3663, allocations: 4 kB / 1.292 GB, free: 3.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3663, allocations: 4 kB / 1.292 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.3664, allocations: 28.3 kB / 1.292 GB, free: 3.102 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.3664, allocations: 11.94 kB / 1.292 GB, free: 3.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.3666, allocations: 31.83 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.3666, allocations: 8 kB / 1.292 GB, free: 3.051 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.000148/0.3667, allocations: 163.5 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.475e-05/0.3667, allocations: 15.89 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.739e-05/0.3668, allocations: 13.41 kB / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3668, allocations: 0 / 1.292 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3668, allocations: 4 kB / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3668, allocations: 0 / 1.292 GB, free: 2.836 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.367, allocations: 192.6 kB / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.367, allocations: 0 / 1.293 GB, free: 2.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.3671, allocations: 19.86 kB / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3671, allocations: 0 / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.3671, allocations: 0 / 1.293 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3671, allocations: 3.938 kB / 1.293 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3671, allocations: 4 kB / 1.293 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.3675, allocations: 210.7 kB / 1.293 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.3675, allocations: 19.88 kB / 1.293 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.3675, allocations: 4 kB / 1.293 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.184e-05/0.3676, allocations: 7.984 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.517e-05/0.3677, allocations: 15.92 kB / 1.293 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3677, allocations: 4 kB / 1.293 GB, free: 2.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001251/0.3678, allocations: 135.2 kB / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3678, allocations: 64 / 1.293 GB, free: 2.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002484/0.3681, allocations: 39.94 kB / 1.293 GB, free: 2.125 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.000116/0.3682, allocations: 101 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003473/0.3686, allocations: 202.7 kB / 1.293 GB, free: 1.797 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3686, allocations: 3.938 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.3687, allocations: 92 kB / 1.293 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.3689, allocations: 19.94 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007613/0.3697, allocations: 324.5 kB / 1.294 GB, free: 1.324 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.3701, allocations: 0.7123 MB / 1.294 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.109e-05/0.3702, allocations: 19.44 kB / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of SimCode: time 4.5e-07/0.3702, allocations: 0 / 1.294 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of Templates: time 0.004104/0.3743, allocations: 1.741 MB / 1.296 GB, free: 14.83 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/jenkins1/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: 11.43660084399744]