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.0009388/0.0009388, 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.003588/0.003588, allocations: 161.5 kB / 24.38 MB, free: 9.105 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.9421/0.9421, allocations: 177.1 MB / 204.8 MB, free: 5.383 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.856/1.856, allocations: 389.6 MB / 0.6356 GB, free: 12.2 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 2.695e-06/2.695e-06, allocations: 1.312 kB / 0.7755 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.985e-05, allocations: 5.156 kB / 0.7755 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.004086/0.004116, allocations: 4.006 MB / 0.7794 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.005953, allocations: 1.4 MB / 0.7808 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.006249, allocations: 27.81 kB / 0.7808 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.006541, allocations: 118.8 kB / 0.7809 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.006795, allocations: 201.6 kB / 0.7811 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000545/0.00734, allocations: 415.3 kB / 0.7815 GB, free: 15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000675/0.008015, allocations: 0.9746 MB / 0.7825 GB, free: 14.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.008354, allocations: 298.6 kB / 0.7828 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004258/0.00878, allocations: 0.4989 MB / 0.7832 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.008997, allocations: 235.2 kB / 0.7835 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.32e-05/0.00907, allocations: 88 kB / 0.7836 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.527e-05/0.009136, allocations: 88 kB / 0.7836 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.318e-05/0.009229, allocations: 175.4 kB / 0.7838 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.009384, allocations: 254.2 kB / 0.7841 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.009816, allocations: 0.5681 MB / 0.7846 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.009819, allocations: 0 / 0.7846 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.61e-07/0.009819, allocations: 0 / 0.7846 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.009827, allocations: 0 / 0.7846 GB, free: 11.82 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.0009463/0.01077, allocations: 0.9674 MB / 0.7856 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.0108, allocations: 13.94 kB / 0.7856 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.633e-05/0.0109, allocations: 101.4 kB / 0.7857 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004576/0.01136, allocations: 423.6 kB / 0.7861 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.01138, allocations: 47.31 kB / 0.7861 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.01145, allocations: 72.3 kB / 0.7862 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004179/0.01187, allocations: 493.9 kB / 0.7866 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.01188, allocations: 0.875 kB / 0.7867 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.886e-05/0.01191, allocations: 24.38 kB / 0.7867 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.01192, allocations: 21.72 kB / 0.7867 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.01212, allocations: 158.3 kB / 0.7868 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.01344, allocations: 1.286 MB / 0.7881 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.01369, allocations: 224 kB / 0.7883 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.01378, allocations: 95.7 kB / 0.7884 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.01381, allocations: 8.5 kB / 0.7884 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001635/0.01397, allocations: 162.2 kB / 0.7886 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.01397, allocations: 1.25 kB / 0.7886 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49): time 0.0003067/0.01428, allocations: 262 kB / 0.7888 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.01431, allocations: 56.44 kB / 0.7889 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.01452, allocations: 387.7 kB / 0.7892 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01455, allocations: 33.7 kB / 0.7893 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.01466, allocations: 275.1 kB / 0.7895 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.308e-05/0.01474, allocations: 178.5 kB / 0.7897 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.01483, allocations: 98.23 kB / 0.7898 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.01492, allocations: 371.1 kB / 0.7902 GB, free: 5.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.561e-05/0.015, allocations: 75.92 kB / 0.7902 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001059/0.01511, allocations: 168.4 kB / 0.7904 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.01531, allocations: 250.4 kB / 0.7906 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.01531, allocations: 1.75 kB / 0.7906 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0002583/0.01557, allocations: 326.9 kB / 0.7909 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.01559, allocations: 37.7 kB / 0.791 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.0156, allocations: 0 / 0.791 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.01561, allocations: 5.719 kB / 0.791 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.0159, allocations: 132.4 kB / 0.7911 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01591, allocations: 7.938 kB / 0.7911 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.01603, allocations: 52.34 kB / 0.7912 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.01605, allocations: 25.59 kB / 0.7912 GB, free: 4.801 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.0001064/0.01615, allocations: 143.4 kB / 0.7913 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.0162, allocations: 43.95 kB / 0.7914 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.727e-05/0.01626, allocations: 70.39 kB / 0.7914 GB, free: 4.539 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.01627, allocations: 4 kB / 0.7914 GB, free: 4.535 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.01627, allocations: 4.875 kB / 0.7914 GB, free: 4.531 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.01628, allocations: 3.984 kB / 0.7914 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005365/0.01681, allocations: 0.5783 MB / 0.792 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.01682, allocations: 0 / 0.792 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.01707, allocations: 110.8 kB / 0.7921 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.01707, allocations: 7.938 kB / 0.7921 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.01709, allocations: 11.94 kB / 0.7921 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.01709, allocations: 6.75 kB / 0.7921 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01709, allocations: 0 / 0.7921 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.01744, allocations: 402.8 kB / 0.7925 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.01752, allocations: 63.47 kB / 0.7926 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.01755, allocations: 12 kB / 0.7926 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01766, allocations: 17.14 kB / 0.7926 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.01771, allocations: 36.44 kB / 0.7927 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.01772, allocations: 7.984 kB / 0.7927 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001057/0.01783, allocations: 161.6 kB / 0.7928 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01783, allocations: 0 / 0.7928 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002324/0.01806, allocations: 147.6 kB / 0.793 GB, free: 2.953 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 8.762e-05/0.01815, allocations: 102 kB / 0.7931 GB, free: 2.848 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002623/0.01841, allocations: 298.8 kB / 0.7933 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.01842, allocations: 4.5 kB / 0.7933 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00011/0.01853, allocations: 124 kB / 0.7935 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.01887, allocations: 161.5 kB / 0.7936 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.0202, allocations: 1.1 MB / 0.7947 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.917e-05/0.02028, allocations: 133.9 kB / 0.7948 GB, free: 1 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001557/0.02043, allocations: 60.39 kB / 0.7949 GB, free: 0.9492 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/0.02063, allocations: 162.5 kB / 0.795 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/0.02064, allocations: 0 / 0.795 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of Templates: time 0.00853/0.02916, allocations: 6.455 MB / 0.8013 GB, free: 10.57 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.08321385551244]