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.0009173/0.0009173, allocations: 91.67 kB / 20.95 MB, free: 3.293 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.003434/0.003434, allocations: 161.1 kB / 24.38 MB, free: 8.57 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.9725/0.9725, allocations: 177.2 MB / 204.8 MB, free: 5.371 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.859/1.859, allocations: 389.6 MB / 0.6357 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.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 1.482e-06/1.482e-06, allocations: 0 / 0.7756 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.608e-05, allocations: 3.297 kB / 0.7756 GB, free: 5.066 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sort): time 0.001232/0.001249, allocations: 0.8758 MB / 0.7765 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000894/0.002143, allocations: 1.066 MB / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.00219, allocations: 0 / 0.7775 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.399e-05/0.002284, allocations: 12.52 kB / 0.7776 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.749e-05/0.002331, allocations: 23.78 kB / 0.7776 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.002613, allocations: 92.23 kB / 0.7777 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.002732, allocations: 139.3 kB / 0.7778 GB, free: 2.895 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.002834, allocations: 37.92 kB / 0.7778 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.447e-05/0.002908, allocations: 63.88 kB / 0.7779 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.972e-05/0.002958, allocations: 47.88 kB / 0.7779 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.002975, allocations: 12 kB / 0.778 GB, free: 2.738 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.003099, allocations: 99.89 kB / 0.778 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.003136, allocations: 35.86 kB / 0.7781 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.162e-05/0.003167, allocations: 43.83 kB / 0.7781 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.003339, allocations: 182.8 kB / 0.7783 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00334, allocations: 0 / 0.7783 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.242e-06/0.003341, allocations: 3.984 kB / 0.7783 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.685e-06/0.003344, allocations: 0 / 0.7783 GB, free: 2.383 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.0003624/0.003706, allocations: 360.1 kB / 0.7786 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.666e-05/0.003733, allocations: 13.34 kB / 0.7787 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.003761, allocations: 12.92 kB / 0.7787 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.003882, allocations: 153 kB / 0.7788 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.003893, allocations: 4.375 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.003905, allocations: 8.375 kB / 0.7788 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.004079, allocations: 122.6 kB / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.004086, allocations: 192 / 0.7789 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004094, allocations: 4.375 kB / 0.7789 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.004102, allocations: 5.781 kB / 0.779 GB, free: 1.66 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.562e-05/0.004147, allocations: 36.39 kB / 0.779 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.004471, allocations: 286.8 kB / 0.7793 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.00454, allocations: 98.28 kB / 0.7794 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.973e-05/0.00457, allocations: 25.86 kB / 0.7794 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.614e-05/0.004606, allocations: 7.984 kB / 0.7794 GB, free: 1.188 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.004625, allocations: 38.56 kB / 0.7794 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.182e-06/0.004627, allocations: 0.5938 kB / 0.7794 GB, free: 1.141 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0001713/0.004798, allocations: 124 kB / 0.7795 GB, free: 1.016 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.004826, allocations: 52.34 kB / 0.7796 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.392e-05/0.0049, allocations: 152.3 kB / 0.7797 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.00491, allocations: 29.64 kB / 0.7798 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.339e-05/0.004943, allocations: 109.3 kB / 0.7799 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.004983, allocations: 71.34 kB / 0.7799 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.005016, allocations: 31.12 kB / 0.78 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.005089, allocations: 326.8 kB / 0.7803 GB, free: 220 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.798e-05/0.005117, allocations: 18.83 kB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.421e-05/0.005141, allocations: 19.98 kB / 0.7803 GB, free: 180 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.00521, allocations: 80.97 kB / 0.7804 GB, free: 96 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.005216, allocations: 0 / 0.7804 GB, free: 96 kB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 9.946e-05/0.005315, allocations: 97.05 kB / 0.7805 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.005324, allocations: 8 kB / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.005334, allocations: 1.719 kB / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.074e-06/0.005342, allocations: 0 / 0.7805 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.512e-05/0.005417, allocations: 23.92 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-06/0.005419, allocations: 1.062 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.429e-05/0.005463, allocations: 31.77 kB / 0.7805 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.005478, allocations: 4.562 kB / 0.7806 GB, free: 15.93 MB / 0.7448 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 6.933e-05/0.005547, allocations: 127.8 kB / 0.7807 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.005562, allocations: 4 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.005688, allocations: 131.3 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.005691, allocations: 4.875 kB / 0.7808 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.005693, allocations: 3.984 kB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005696, allocations: 4.812 kB / 0.7808 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.005799, allocations: 117.7 kB / 0.7809 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.005803, allocations: 7.984 kB / 0.7809 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.24e-05/0.005856, allocations: 26.3 kB / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.005857, allocations: 0 / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.005863, allocations: 0 / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005863, allocations: 0 / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.005864, allocations: 0 / 0.781 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.00599, allocations: 255.5 kB / 0.7812 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.189e-05/0.006002, allocations: 20.88 kB / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.006012, allocations: 0 / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.535e-05/0.006067, allocations: 20.48 kB / 0.7812 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.006106, allocations: 16.94 kB / 0.7813 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.006116, allocations: 8 kB / 0.7813 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.423e-05/0.00615, allocations: 36.69 kB / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1e-07/0.00615, allocations: 0.9375 kB / 0.7813 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002214/0.006372, allocations: 39.94 kB / 0.7813 GB, free: 15.08 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.0001576/0.006529, allocations: 114.1 kB / 0.7815 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001392/0.006668, allocations: 135.2 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.00667, allocations: 0.5938 kB / 0.7816 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.006735, allocations: 113 kB / 0.7817 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.006882, allocations: 30.34 kB / 0.7817 GB, free: 14.67 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003217/0.007203, allocations: 292.9 kB / 0.782 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.007242, allocations: 80.41 kB / 0.7821 GB, free: 14.26 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.748e-05/0.00727, allocations: 5.656 kB / 0.7821 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.007337, allocations: 75.36 kB / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of SimCode: time 2.91e-07/0.007338, allocations: 0 / 0.7822 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.003271/0.01061, allocations: 2.042 MB / 0.7841 GB, free: 12.25 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.071371850557625]