Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.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.0009077/0.0009077, 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.0009931/0.0009931, allocations: 165 kB / 24.17 MB, free: 328 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.998/0.998, allocations: 177.1 MB / 204.6 MB, free: 5.5 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.89/1.89, 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.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.677e-06/3.677e-06, allocations: 0 / 0.7753 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.263e-05/4.631e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001899/0.001945, allocations: 0.8761 MB / 0.7761 GB, free: 4.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.003142, allocations: 1.065 MB / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.003198, allocations: 0 / 0.7772 GB, free: 3.395 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.003317, allocations: 20.7 kB / 0.7772 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.875e-05/0.003365, allocations: 16.47 kB / 0.7772 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003773/0.003743, allocations: 97.53 kB / 0.7773 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.00388, allocations: 126.8 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.004011, allocations: 42.41 kB / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.004116, allocations: 73.19 kB / 0.7775 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.852e-05/0.004185, allocations: 43.88 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.004207, allocations: 8 kB / 0.7776 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001609/0.004368, allocations: 95.91 kB / 0.7777 GB, free: 2.898 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.004414, allocations: 40.47 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.507e-05/0.004449, allocations: 39.84 kB / 0.7777 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.004653, allocations: 181 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.004657, allocations: 0 / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004658, allocations: 0 / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.004662, allocations: 0 / 0.7779 GB, free: 2.645 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0004153/0.005077, allocations: 368.9 kB / 0.7783 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.005114, allocations: 10.09 kB / 0.7783 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.8e-05/0.005152, allocations: 12.92 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.005293, allocations: 157.1 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.005302, allocations: 384 / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.005316, allocations: 16.31 kB / 0.7785 GB, free: 2.047 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.005527, allocations: 122.6 kB / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.005535, allocations: 192 / 0.7786 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.005547, allocations: 4.375 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005552, allocations: 7.125 kB / 0.7786 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.633e-05/0.005598, allocations: 32.39 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.006019, allocations: 289.6 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.262e-05/0.006101, allocations: 94.34 kB / 0.779 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.006134, allocations: 23.02 kB / 0.779 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.828e-05/0.006182, allocations: 4 kB / 0.779 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.006213, allocations: 46.48 kB / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.485e-06/0.006216, allocations: 0 / 0.779 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0002059/0.006422, allocations: 124.5 kB / 0.7792 GB, free: 1.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.006453, allocations: 55.41 kB / 0.7792 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.006537, allocations: 150.7 kB / 0.7794 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.00655, allocations: 25.7 kB / 0.7794 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.253e-05/0.006592, allocations: 108.5 kB / 0.7795 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.006638, allocations: 71.34 kB / 0.7796 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.006707, allocations: 34.28 kB / 0.7796 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.084e-05/0.006788, allocations: 326.8 kB / 0.7799 GB, free: 480 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.006823, allocations: 19.83 kB / 0.7799 GB, free: 460 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.006854, allocations: 12 kB / 0.7799 GB, free: 448 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.433e-05/0.006938, allocations: 88.77 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.006941, allocations: 0 / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001084/0.007049, allocations: 97.44 kB / 0.7801 GB, free: 256 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.007062, allocations: 4 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.00708, allocations: 3.984 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.007096, allocations: 0.8125 kB / 0.7801 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.007202, allocations: 24.52 kB / 0.7801 GB, free: 224 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.007207, allocations: 4.234 kB / 0.7801 GB, free: 220 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.279e-05/0.00726, allocations: 24.77 kB / 0.7802 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.007284, allocations: 4.594 kB / 0.7802 GB, free: 192 kB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorDes.yIdx[5],sorDes.yIdx[4],sorDes.yIdx[3],sorDes.yIdx[2],sorDes.yIdx[1],sorAsc.yIdx[5],sorAsc.yIdx[4],sorAsc.yIdx[3],sorAsc.yIdx[2],sorAsc.yIdx[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001055/0.007389, allocations: 130.3 kB / 0.7803 GB, free: 52 kB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.00741, allocations: 8.562 kB / 0.7803 GB, free: 44 kB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.007633, allocations: 132.2 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.007637, allocations: 4 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.007639, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.007643, allocations: 0 / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.007848, allocations: 122.3 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.007854, allocations: 4 kB / 0.7806 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.026e-05/0.007934, allocations: 32.5 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.007937, allocations: 1.188 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.007944, allocations: 0 / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.007949, allocations: 4.016 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.007953, allocations: 4.859 kB / 0.7806 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.008136, allocations: 251.5 kB / 0.7808 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.619e-05/0.008152, allocations: 20.41 kB / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.008163, allocations: 0 / 0.7809 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.038e-05/0.008224, allocations: 20.67 kB / 0.7809 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/0.008277, allocations: 20.89 kB / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.709e-06/0.008287, allocations: 0 / 0.7809 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.592e-05/0.008312, allocations: 32.23 kB / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.008313, allocations: 0 / 0.7809 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001817/0.008494, allocations: 40.84 kB / 0.781 GB, free: 15.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (sorAsc.yIdx[1],sorAsc.yIdx[2],sorAsc.yIdx[3],sorAsc.yIdx[4],sorAsc.yIdx[5],sorDes.yIdx[1],sorDes.yIdx[2],sorDes.yIdx[3],sorDes.yIdx[4],sorDes.yIdx[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001938/0.008688, allocations: 117.3 kB / 0.7811 GB, free: 15.21 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.008867, allocations: 133.5 kB / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.008873, allocations: 0 / 0.7812 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.172e-05/0.008944, allocations: 112 kB / 0.7813 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.009131, allocations: 32.27 kB / 0.7813 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.009556, allocations: 299.5 kB / 0.7816 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.272e-05/0.009619, allocations: 79.33 kB / 0.7817 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.009658, allocations: 6.641 kB / 0.7817 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.932e-05/0.009747, allocations: 75.36 kB / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of SimCode: time 9.11e-07/0.009748, allocations: 0 / 0.7818 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.004084/0.01383, allocations: 2.017 MB / 0.7838 GB, free: 12.52 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.sim & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Sort_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.078637341037393]