Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001414/0.001414, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 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.001399/0.001399, allocations: 165 kB / 24.16 MB, free: 332 kB / 18.57 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 0.9115/0.9115, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.805/1.805, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7751 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13e-05/1.286e-05, allocations: 3.062 kB / 0.7751 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002356/0.002369, allocations: 2.167 MB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.003183, allocations: 0.7079 MB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.453e-05/0.003258, allocations: 4 kB / 0.778 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.003614, allocations: 105 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001232/0.003737, allocations: 63.55 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.003855, allocations: 74.48 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.004019, allocations: 163.3 kB / 0.7783 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.004169, allocations: 93.81 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.004303, allocations: 99.77 kB / 0.7785 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.004424, allocations: 55.8 kB / 0.7786 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004443, allocations: 12 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.073e-05/0.004534, allocations: 62.14 kB / 0.7787 GB, free: 1.82 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.465e-05/0.004579, allocations: 39.91 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.004627, allocations: 51.84 kB / 0.7787 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.004791, allocations: 123.6 kB / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.004792, allocations: 0 / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.004793, allocations: 0 / 0.7789 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.865e-06/0.004796, allocations: 0 / 0.7789 GB, free: 1.609 MB / 0.7292 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.0003717/0.005168, allocations: 405 kB / 0.7792 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.005198, allocations: 13.34 kB / 0.7793 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.005379, allocations: 45.61 kB / 0.7793 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.005527, allocations: 147.3 kB / 0.7794 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.005566, allocations: 64.97 kB / 0.7795 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.789e-05/0.005584, allocations: 12.38 kB / 0.7795 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.005734, allocations: 158.4 kB / 0.7797 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.00574, allocations: 0 / 0.7797 GB, free: 0.6914 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.00575, allocations: 4.656 kB / 0.7797 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.005763, allocations: 12.73 kB / 0.7797 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.133e-05/0.005815, allocations: 55.56 kB / 0.7797 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.006286, allocations: 493.3 kB / 0.7802 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.006438, allocations: 68.86 kB / 0.7803 GB, free: 20 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.692e-05/0.006515, allocations: 38.56 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.006529, allocations: 1.719 kB / 0.7803 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001202/0.006649, allocations: 164.4 kB / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.00665, allocations: 0 / 0.7805 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001472/0.006798, allocations: 166.7 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.815e-05/0.006846, allocations: 141.4 kB / 0.7808 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.159e-05/0.006937, allocations: 176.6 kB / 0.7809 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.006949, allocations: 26.2 kB / 0.781 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.007001, allocations: 139.7 kB / 0.7811 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.007016, allocations: 20.55 kB / 0.7811 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.007057, allocations: 41.69 kB / 0.7811 GB, free: 15 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.082e-05/0.007128, allocations: 324.2 kB / 0.7815 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.551e-05/0.007163, allocations: 75.39 kB / 0.7815 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.285e-05/0.007226, allocations: 135.4 kB / 0.7817 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.007335, allocations: 205.1 kB / 0.7818 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.007338, allocations: 4 kB / 0.7819 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001412/0.007479, allocations: 226.3 kB / 0.7821 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.322e-05/0.007513, allocations: 72.45 kB / 0.7821 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.007519, allocations: 4 kB / 0.7821 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.007529, allocations: 4 kB / 0.7821 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.911e-05/0.007628, allocations: 36.67 kB / 0.7822 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007632, allocations: 4 kB / 0.7822 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.404e-05/0.007696, allocations: 28.52 kB / 0.7822 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.007706, allocations: 9.25 kB / 0.7822 GB, free: 13.75 MB / 0.7448 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 7.297e-05/0.007779, allocations: 150.3 kB / 0.7824 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.007794, allocations: 17.02 kB / 0.7824 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.007818, allocations: 17.45 kB / 0.7824 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.00782, allocations: 0 / 0.7824 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.007823, allocations: 5.375 kB / 0.7824 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.007827, allocations: 4.031 kB / 0.7824 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.427e-05/0.007901, allocations: 100.7 kB / 0.7825 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007903, allocations: 4 kB / 0.7825 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.007948, allocations: 13.39 kB / 0.7825 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.007948, allocations: 0 / 0.7825 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.007956, allocations: 4 kB / 0.7825 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.007957, allocations: 0 / 0.7825 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007958, allocations: 1.25 kB / 0.7825 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.008106, allocations: 212.9 kB / 0.7827 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.492e-05/0.008121, allocations: 11.91 kB / 0.7827 GB, free: 13.15 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.008138, allocations: 9.266 kB / 0.7827 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.427e-05/0.008172, allocations: 8 kB / 0.7828 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.008206, allocations: 7.984 kB / 0.7828 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.008212, allocations: 8.812 kB / 0.7828 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.062e-05/0.008243, allocations: 45.06 kB / 0.7828 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008243, allocations: 0.7812 kB / 0.7828 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001292/0.008372, allocations: 31.94 kB / 0.7828 GB, free: 13.04 MB / 0.7448 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 5.612e-05/0.008428, allocations: 85.36 kB / 0.7829 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.008582, allocations: 266.2 kB / 0.7832 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.008586, allocations: 4 kB / 0.7832 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.008641, allocations: 116.6 kB / 0.7833 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.926e-05/0.008741, allocations: 23.92 kB / 0.7833 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004661/0.009207, allocations: 312.2 kB / 0.7836 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.54e-05/0.009242, allocations: 83.7 kB / 0.7837 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.688e-05/0.009279, allocations: 10.3 kB / 0.7837 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.951e-05/0.009358, allocations: 71.38 kB / 0.7838 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of SimCode: time 6.11e-07/0.009359, allocations: 1.656 kB / 0.7838 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of Templates: time 0.002995/0.01235, allocations: 1.585 MB / 0.7853 GB, free: 10.47 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.sim & (cd run_cvode && ../Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_gbode.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_ida.pipe ; mkfifo Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Electrical.Utilities.Examples.TestVoltageCTRL_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.619215336628258]