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.001078/0.001078, allocations: 91.67 kB / 20.95 MB, free: 3.305 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.005435/0.005435, allocations: 166.4 kB / 24.38 MB, free: 8.473 MB / 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.9143/0.9143, allocations: 177.2 MB / 204.8 MB, free: 5.402 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.853/1.853, allocations: 389.6 MB / 0.6356 GB, free: 12.17 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.623e-06/1.623e-06, allocations: 0 / 0.7755 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.1e-05, allocations: 4.422 kB / 0.7755 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002644/0.002665, allocations: 2.168 MB / 0.7776 GB, free: 3.082 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003683, allocations: 0.6985 MB / 0.7783 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.788e-05/0.003781, allocations: 4.656 kB / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0004104/0.004191, allocations: 105.4 kB / 0.7784 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0004393/0.004631, allocations: 63.17 kB / 0.7785 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.004795, allocations: 71.67 kB / 0.7786 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000195/0.00499, allocations: 171.4 kB / 0.7787 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001917/0.005182, allocations: 91.19 kB / 0.7788 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.005356, allocations: 91.8 kB / 0.7789 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.005495, allocations: 63.78 kB / 0.779 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.005516, allocations: 12 kB / 0.779 GB, free: 1.738 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.005625, allocations: 52.48 kB / 0.779 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.005676, allocations: 48.36 kB / 0.7791 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.005722, allocations: 43.92 kB / 0.7791 GB, free: 1.598 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.005907, allocations: 133.3 kB / 0.7792 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.005909, allocations: 0 / 0.7792 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.00591, allocations: 0 / 0.7792 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.978e-06/0.005914, allocations: 0 / 0.7792 GB, free: 1.469 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.0004273/0.006341, allocations: 396.6 kB / 0.7796 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.006e-05/0.006372, allocations: 9.344 kB / 0.7796 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002007/0.006572, allocations: 57.31 kB / 0.7797 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000169/0.006741, allocations: 146.9 kB / 0.7798 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.006789, allocations: 62.56 kB / 0.7799 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.006809, allocations: 12.38 kB / 0.7799 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.006975, allocations: 158.1 kB / 0.78 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.006984, allocations: 0 / 0.78 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.006999, allocations: 7.984 kB / 0.78 GB, free: 0.5469 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.007022, allocations: 4 kB / 0.78 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.00708, allocations: 62.48 kB / 0.7801 GB, free: 492 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.00754, allocations: 491.9 kB / 0.7806 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.007669, allocations: 68.2 kB / 0.7806 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/0.007698, allocations: 46.48 kB / 0.7807 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.007708, allocations: 2.656 kB / 0.7807 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001302/0.007838, allocations: 172.4 kB / 0.7809 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.00784, allocations: 0 / 0.7809 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000163/0.008003, allocations: 166.7 kB / 0.781 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/0.008058, allocations: 140.6 kB / 0.7811 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/0.008156, allocations: 180.6 kB / 0.7813 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.008169, allocations: 25.7 kB / 0.7813 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.257e-05/0.008222, allocations: 137.4 kB / 0.7815 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.008238, allocations: 19.84 kB / 0.7815 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-05/0.008277, allocations: 37.7 kB / 0.7815 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.008354, allocations: 330.8 kB / 0.7818 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.788e-05/0.008392, allocations: 67.41 kB / 0.7819 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.00846, allocations: 141.7 kB / 0.782 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.008577, allocations: 205.2 kB / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.008579, allocations: 0 / 0.7822 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001563/0.008735, allocations: 234 kB / 0.7825 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.802e-05/0.008773, allocations: 66.66 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.00878, allocations: 4 kB / 0.7825 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.00879, allocations: 4.781 kB / 0.7825 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.008899, allocations: 39.84 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.008904, allocations: 4.625 kB / 0.7826 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.46e-05/0.008988, allocations: 20.75 kB / 0.7826 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.008999, allocations: 12 kB / 0.7826 GB, free: 13.6 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 8.886e-05/0.009087, allocations: 159.2 kB / 0.7828 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.571e-05/0.009103, allocations: 16.52 kB / 0.7828 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.271e-05/0.009126, allocations: 13.47 kB / 0.7828 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.009128, allocations: 1.531 kB / 0.7828 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.009131, allocations: 3.938 kB / 0.7828 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.009134, allocations: 0 / 0.7828 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.064e-05/0.009215, allocations: 100.7 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.009217, allocations: 2.75 kB / 0.7829 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.916e-05/0.009276, allocations: 15.98 kB / 0.7829 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.009278, allocations: 3.938 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.009287, allocations: 4 kB / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.009288, allocations: 0 / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009289, allocations: 0 / 0.7829 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.00947, allocations: 225.2 kB / 0.7831 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.439e-05/0.009485, allocations: 14.78 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.0095, allocations: 4 kB / 0.7831 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.585e-05/0.009536, allocations: 11.98 kB / 0.7832 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.009578, allocations: 7.984 kB / 0.7832 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.009584, allocations: 3.938 kB / 0.7832 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.607e-05/0.00962, allocations: 49.06 kB / 0.7832 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00962, allocations: 0 / 0.7832 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001332/0.009753, allocations: 25.44 kB / 0.7832 GB, free: 12.88 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 8.047e-05/0.009834, allocations: 84.42 kB / 0.7833 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01001, allocations: 278 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01001, allocations: 0.7188 kB / 0.7836 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.139e-05/0.01008, allocations: 117.9 kB / 0.7837 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.0102, allocations: 21.08 kB / 0.7837 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.01072, allocations: 311.9 kB / 0.784 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.852e-05/0.01076, allocations: 75.77 kB / 0.7841 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.302e-05/0.0108, allocations: 15.5 kB / 0.7841 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.067e-05/0.01088, allocations: 76.75 kB / 0.7842 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01089, allocations: 4 kB / 0.7842 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of Templates: time 0.003592/0.01448, allocations: 1.578 MB / 0.7857 GB, free: 10.31 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.999343545176089]