Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.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.001108/0.001108, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001835/0.001835, allocations: 165 kB / 24.17 MB, free: 336 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.9811/0.9811, allocations: 177.2 MB / 204.6 MB, free: 5.473 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.896/1.896, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.722e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.003917/0.003934, allocations: 3.993 MB / 0.7791 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.005586, allocations: 1.397 MB / 0.7804 GB, free: 48 kB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002293/0.005816, allocations: 27.81 kB / 0.7805 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.006082, allocations: 126.7 kB / 0.7806 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.006318, allocations: 197.8 kB / 0.7808 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.008256, allocations: 407.4 kB / 0.7812 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001662/0.009917, allocations: 0.9793 MB / 0.7821 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007542/0.01067, allocations: 298.6 kB / 0.7824 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009268/0.0116, allocations: 0.5042 MB / 0.7829 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.01217, allocations: 239.2 kB / 0.7831 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.01235, allocations: 88 kB / 0.7832 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.01247, allocations: 88 kB / 0.7833 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.01261, allocations: 175.9 kB / 0.7834 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.01294, allocations: 240.5 kB / 0.7837 GB, free: 12.69 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0009145/0.01385, allocations: 0.5759 MB / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.01386, allocations: 0 / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/0.01386, allocations: 1.719 kB / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.899e-05/0.01388, allocations: 0 / 0.7842 GB, free: 12.11 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001636/0.01552, allocations: 0.9722 MB / 0.7852 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.01556, allocations: 17.28 kB / 0.7852 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.01574, allocations: 104.8 kB / 0.7853 GB, free: 10.99 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007493/0.01649, allocations: 416.7 kB / 0.7857 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.988e-05/0.01653, allocations: 45.67 kB / 0.7857 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.041e-05/0.01662, allocations: 65.45 kB / 0.7858 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007039/0.01733, allocations: 493.9 kB / 0.7863 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.01735, allocations: 1.25 kB / 0.7863 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.0174, allocations: 24.38 kB / 0.7863 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.698e-05/0.01742, allocations: 19.94 kB / 0.7863 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000342/0.01776, allocations: 159.3 kB / 0.7865 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.01946, allocations: 1.29 MB / 0.7877 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.01976, allocations: 232 kB / 0.788 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.877e-05/0.01986, allocations: 90.31 kB / 0.788 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.01989, allocations: 8.5 kB / 0.7881 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.0201, allocations: 167.6 kB / 0.7882 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 3.487e-06/0.0201, allocations: 0 / 0.7882 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003631/0.02047, allocations: 259.3 kB / 0.7885 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.0205, allocations: 55.91 kB / 0.7885 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/0.02075, allocations: 387.1 kB / 0.7889 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.296e-05/0.02079, allocations: 35.2 kB / 0.7889 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.02092, allocations: 278.1 kB / 0.7892 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.988e-05/0.02101, allocations: 170.5 kB / 0.7893 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.682e-05/0.02111, allocations: 98.25 kB / 0.7894 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.02122, allocations: 376.2 kB / 0.7898 GB, free: 6.234 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.244e-05/0.02132, allocations: 71 kB / 0.7899 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002457/0.02156, allocations: 172.3 kB / 0.79 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002208/0.02178, allocations: 258 kB / 0.7903 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.02179, allocations: 3.156 kB / 0.7903 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0003011/0.02209, allocations: 317.8 kB / 0.7906 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.02212, allocations: 37.7 kB / 0.7906 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.02213, allocations: 4 kB / 0.7906 GB, free: 5.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.02215, allocations: 6.781 kB / 0.7906 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003436/0.02249, allocations: 136.3 kB / 0.7908 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.0225, allocations: 4 kB / 0.7908 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.02264, allocations: 51.66 kB / 0.7908 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.02266, allocations: 15.98 kB / 0.7908 GB, free: 5.098 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conNoRes.conPID.I.trigger_internal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 prepare postOptimizeDAE: time 0.0001222/0.02278, allocations: 144.9 kB / 0.791 GB, free: 4.949 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.02283, allocations: 47.95 kB / 0.791 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.526e-05/0.0229, allocations: 66.56 kB / 0.7911 GB, free: 4.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02291, allocations: 4 kB / 0.7911 GB, free: 4.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.02291, allocations: 4.844 kB / 0.7911 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.02292, allocations: 0 / 0.7911 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.02357, allocations: 0.5842 MB / 0.7917 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.02357, allocations: 0 / 0.7917 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.02384, allocations: 118.2 kB / 0.7918 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.02385, allocations: 3.938 kB / 0.7918 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.02387, allocations: 15.98 kB / 0.7918 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.02388, allocations: 3.984 kB / 0.7918 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.02388, allocations: 0 / 0.7918 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003659/0.02424, allocations: 398.8 kB / 0.7922 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.02435, allocations: 67.47 kB / 0.7922 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.02438, allocations: 7.125 kB / 0.7922 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.0245, allocations: 23.98 kB / 0.7923 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.486e-05/0.02458, allocations: 40.36 kB / 0.7923 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.02459, allocations: 8 kB / 0.7923 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001368/0.02473, allocations: 164.7 kB / 0.7925 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.02473, allocations: 0 / 0.7925 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003102/0.02504, allocations: 143.6 kB / 0.7926 GB, free: 3.238 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000118/0.02516, allocations: 96.55 kB / 0.7927 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.02547, allocations: 298.8 kB / 0.793 GB, free: 2.832 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.02548, allocations: 4.5 kB / 0.793 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.0256, allocations: 117.5 kB / 0.7931 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.02601, allocations: 155.9 kB / 0.7932 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.0279, allocations: 1.102 MB / 0.7943 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.452e-05/0.02799, allocations: 134.8 kB / 0.7944 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002222/0.02821, allocations: 56.61 kB / 0.7945 GB, free: 1.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.02845, allocations: 161.3 kB / 0.7947 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of SimCode: time 8.62e-07/0.02845, allocations: 0 / 0.7947 GB, free: 1.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.009894/0.03835, allocations: 6.46 MB / 0.801 GB, free: 10.86 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.Continuous.Examples.LimPIDWithReset_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.195509753189981]